summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/cases/buildgalculator.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-09 09:55:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-14 11:14:40 +0000
commitcd81cd155b59e1b75a3ce23375e66131b1bffc1e (patch)
tree216af7aa4b0fe84b40ee90899902c4f41ade0267 /meta/lib/oeqa/runtime/cases/buildgalculator.py
parent8c4ba1afdde782c4a497fa501a61af6bff53375f (diff)
downloadpoky-cd81cd155b59e1b75a3ce23375e66131b1bffc1e.tar.gz
oeqa/runtime/cases: Improve dependencies of kernel/gcc/build tests
Mark up these tests as needing a compiler, make and kernel source code as appropriate, the image feature requirements can then be retired. (From OE-Core rev: 9f64e6c25abdf494fb511e9cd401f8dcaa08be2a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/buildgalculator.py')
-rw-r--r--meta/lib/oeqa/runtime/cases/buildgalculator.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/lib/oeqa/runtime/cases/buildgalculator.py b/meta/lib/oeqa/runtime/cases/buildgalculator.py
index 7c9d4a392b..a0a0032083 100644
--- a/meta/lib/oeqa/runtime/cases/buildgalculator.py
+++ b/meta/lib/oeqa/runtime/cases/buildgalculator.py
@@ -1,7 +1,7 @@
1from oeqa.runtime.case import OERuntimeTestCase 1from oeqa.runtime.case import OERuntimeTestCase
2from oeqa.core.decorator.depends import OETestDepends 2from oeqa.core.decorator.depends import OETestDepends
3from oeqa.core.decorator.oeid import OETestID 3from oeqa.core.decorator.oeid import OETestID
4from oeqa.core.decorator.data import skipIfNotFeature 4from oeqa.runtime.decorator.package import OEHasPackage
5 5
6from oeqa.runtime.utils.targetbuildproject import TargetBuildProject 6from oeqa.runtime.utils.targetbuildproject import TargetBuildProject
7 7
@@ -13,16 +13,17 @@ class GalculatorTest(OERuntimeTestCase):
13 cls.project = TargetBuildProject(cls.tc.target, 13 cls.project = TargetBuildProject(cls.tc.target,
14 uri, 14 uri,
15 dl_dir = cls.tc.td['DL_DIR']) 15 dl_dir = cls.tc.td['DL_DIR'])
16 cls.project.download_archive()
17 16
18 @classmethod 17 @classmethod
19 def tearDownClass(cls): 18 def tearDownClass(cls):
20 cls.project.clean() 19 cls.project.clean()
21 20
22 @OETestID(1526) 21 @OETestID(1526)
23 @skipIfNotFeature('tools-sdk',
24 'Test requires tools-sdk to be in IMAGE_FEATURES')
25 @OETestDepends(['ssh.SSHTest.test_ssh']) 22 @OETestDepends(['ssh.SSHTest.test_ssh'])
23 @OEHasPackage(['gcc'])
24 @OEHasPackage(['make'])
25 @OEHasPackage(['autoconf'])
26 def test_galculator(self): 26 def test_galculator(self):
27 self.project.download_archive()
27 self.project.run_configure() 28 self.project.run_configure()
28 self.project.run_make() 29 self.project.run_make()