summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorJose Perez Carranza <jose.perez.carranza@linux.intel.com>2017-07-06 14:03:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-05 22:39:48 +0000
commita6e7401378e847d1fc31bbc72d9b3ca69efb0a2a (patch)
tree90cf31ecdd533cc91bbe0a3af655bb8db960b22e /meta/lib
parentd096d7e850f12d7440d285b4eaa6ed1c61558ef5 (diff)
downloadpoky-a6e7401378e847d1fc31bbc72d9b3ca69efb0a2a.tar.gz
oeqa/runtime: Replace buildiptables for buildlzip on runtime tests
Buildiptables test cases are conflicting with images built with “musl” as standard C library, in order to avoid those issues lzip package was selected to be used on the tests as this does not have any "musl" dependency. This patch is applicable for testimage tests [YOCTO # 11713] (From OE-Core rev: 41683e0ab316049e28b1f4ceaf39f0fe17722d92) (From OE-Core rev: d40bcafb574788ed26855c5d1a072523893c1b4b) Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/runtime/cases/buildlzip.py (renamed from meta/lib/oeqa/runtime/cases/buildiptables.py)6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/cases/buildiptables.py b/meta/lib/oeqa/runtime/cases/buildlzip.py
index 002b16c483..ca3fead2e4 100644
--- a/meta/lib/oeqa/runtime/cases/buildiptables.py
+++ b/meta/lib/oeqa/runtime/cases/buildlzip.py
@@ -5,12 +5,12 @@ from oeqa.core.decorator.data import skipIfNotFeature
5 5
6from oeqa.runtime.utils.targetbuildproject import TargetBuildProject 6from oeqa.runtime.utils.targetbuildproject import TargetBuildProject
7 7
8class BuildIptablesTest(OERuntimeTestCase): 8class BuildLzipTest(OERuntimeTestCase):
9 9
10 @classmethod 10 @classmethod
11 def setUpClass(cls): 11 def setUpClass(cls):
12 uri = 'http://downloads.yoctoproject.org/mirror/sources' 12 uri = 'http://downloads.yoctoproject.org/mirror/sources'
13 uri = '%s/iptables-1.4.13.tar.bz2' % uri 13 uri = '%s/lzip-1.19.tar.gz' % uri
14 cls.project = TargetBuildProject(cls.tc.target, 14 cls.project = TargetBuildProject(cls.tc.target,
15 uri, 15 uri,
16 dl_dir = cls.tc.td['DL_DIR']) 16 dl_dir = cls.tc.td['DL_DIR'])
@@ -24,7 +24,7 @@ class BuildIptablesTest(OERuntimeTestCase):
24 @skipIfNotFeature('tools-sdk', 24 @skipIfNotFeature('tools-sdk',
25 'Test requires tools-sdk to be in IMAGE_FEATURES') 25 'Test requires tools-sdk to be in IMAGE_FEATURES')
26 @OETestDepends(['ssh.SSHTest.test_ssh']) 26 @OETestDepends(['ssh.SSHTest.test_ssh'])
27 def test_iptables(self): 27 def test_lzip(self):
28 self.project.run_configure() 28 self.project.run_configure()
29 self.project.run_make() 29 self.project.run_make()
30 self.project.run_install() 30 self.project.run_install()