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-07-08 13:34:46 +0100
commit37e0cd0e917ad14f62770417d7f4fc8764b95f77 (patch)
treea379caea7ed81f822859687fe71fb081636fe005 /meta/lib
parent72bdc495479c1bf842ab97f9cfc80b01b2a35865 (diff)
downloadpoky-37e0cd0e917ad14f62770417d7f4fc8764b95f77.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) 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>
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()