diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/buildgalculator.py')
-rw-r--r-- | meta/lib/oeqa/runtime/buildgalculator.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/buildgalculator.py b/meta/lib/oeqa/runtime/buildgalculator.py index 220101d55c..20f0a79367 100644 --- a/meta/lib/oeqa/runtime/buildgalculator.py +++ b/meta/lib/oeqa/runtime/buildgalculator.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,9 +10,11 @@ class GalculatorTest(oeRuntimeTest): | |||
10 | @testcase(1526) | 10 | @testcase(1526) |
11 | @skipUnlessPassed("test_ssh") | 11 | @skipUnlessPassed("test_ssh") |
12 | def test_galculator(self): | 12 | def test_galculator(self): |
13 | dl_dir = oeRuntimeTest.tc.d.getVar('DL_DIR', True) | ||
13 | try: | 14 | try: |
14 | project = TargetBuildProject(oeRuntimeTest.tc.target, oeRuntimeTest.tc.d, | 15 | project = TargetBuildProject(oeRuntimeTest.tc.target, |
15 | "http://galculator.mnim.org/downloads/galculator-2.1.4.tar.bz2") | 16 | "http://galculator.mnim.org/downloads/galculator-2.1.4.tar.bz2", |
17 | dl_dir=dl_dir) | ||
16 | project.download_archive() | 18 | project.download_archive() |
17 | 19 | ||
18 | self.assertEqual(project.run_configure(), 0, | 20 | self.assertEqual(project.run_configure(), 0, |