diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/buildiptables.py')
| -rw-r--r-- | meta/lib/oeqa/runtime/buildiptables.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/buildiptables.py b/meta/lib/oeqa/runtime/buildiptables.py index bc75d0a0c7..a0e82f0dde 100644 --- a/meta/lib/oeqa/runtime/buildiptables.py +++ b/meta/lib/oeqa/runtime/buildiptables.py | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | from oeqa.oetest import oeRuntimeTest, skipModule | 1 | from oeqa.oetest import oeRuntimeTest, skipModule |
| 2 | from oeqa.utils.decorators import * | 2 | from oeqa.utils.decorators import * |
| 3 | from oeqa.utils.targetbuild import TargetBuildProject | 3 | from oeqa.runtime.utils.targetbuildproject import TargetBuildProject |
| 4 | 4 | ||
| 5 | def setUpModule(): | 5 | def setUpModule(): |
| 6 | if not oeRuntimeTest.hasFeature("tools-sdk"): | 6 | if not oeRuntimeTest.hasFeature("tools-sdk"): |
| @@ -10,8 +10,10 @@ class BuildIptablesTest(oeRuntimeTest): | |||
| 10 | 10 | ||
| 11 | @classmethod | 11 | @classmethod |
| 12 | def setUpClass(self): | 12 | def setUpClass(self): |
| 13 | self.project = TargetBuildProject(oeRuntimeTest.tc.target, oeRuntimeTest.tc.d, | 13 | dl_dir = oeRuntimeTest.tc.d.getVar('DL_DIR', True) |
| 14 | "http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2") | 14 | self.project = TargetBuildProject(oeRuntimeTest.tc.target, |
| 15 | "http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2", | ||
| 16 | dl_dir=dl_dir) | ||
| 15 | self.project.download_archive() | 17 | self.project.download_archive() |
| 16 | 18 | ||
| 17 | @testcase(206) | 19 | @testcase(206) |
