summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorJose Perez Carranza <jose.perez.carranza@linux.intel.com>2017-07-03 13:04:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-05 22:39:48 +0000
commit595c92e204927e0e2a7316aa19b768a120691083 (patch)
tree1fc7adc4b74025595eea938a0f822b3d403ad01b /meta/lib
parenta6e7401378e847d1fc31bbc72d9b3ca69efb0a2a (diff)
downloadpoky-595c92e204927e0e2a7316aa19b768a120691083.tar.gz
oeqa/sdk: Replace buildiptables for buildlzip 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. [YOCTO #11713] (From OE-Core rev: b798284f62b3cb171373716b1ee84403439314aa) (From OE-Core rev: 0699de9efe40029a6c5e799bb8c9616337fd163e) 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/sdk/cases/buildlzip.py (renamed from meta/lib/oeqa/sdk/cases/buildiptables.py)8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildiptables.py b/meta/lib/oeqa/sdk/cases/buildlzip.py
index 0bd00d125a..2a53b783cd 100644
--- a/meta/lib/oeqa/sdk/cases/buildiptables.py
+++ b/meta/lib/oeqa/sdk/cases/buildlzip.py
@@ -3,15 +3,15 @@ from oeqa.sdk.case import OESDKTestCase
3from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject 3from oeqa.sdk.utils.sdkbuildproject import SDKBuildProject
4 4
5 5
6class BuildIptablesTest(OESDKTestCase): 6class BuildLzipTest(OESDKTestCase):
7 td_vars = ['DATETIME'] 7 td_vars = ['DATETIME']
8 8
9 @classmethod 9 @classmethod
10 def setUpClass(self): 10 def setUpClass(self):
11 dl_dir = self.td.get('DL_DIR', None) 11 dl_dir = self.td.get('DL_DIR', None)
12 12
13 self.project = SDKBuildProject(self.tc.sdk_dir + "/iptables/", self.tc.sdk_env, 13 self.project = SDKBuildProject(self.tc.sdk_dir + "/lzip/", self.tc.sdk_env,
14 "http://downloads.yoctoproject.org/mirror/sources/iptables-1.4.13.tar.bz2", 14 "http://downloads.yoctoproject.org/mirror/sources/lzip-1.19.tar.gz",
15 self.tc.sdk_dir, self.td['DATETIME'], dl_dir=dl_dir) 15 self.tc.sdk_dir, self.td['DATETIME'], dl_dir=dl_dir)
16 self.project.download_archive() 16 self.project.download_archive()
17 17
@@ -20,7 +20,7 @@ class BuildIptablesTest(OESDKTestCase):
20 if not self.tc.hasHostPackage("packagegroup-cross-canadian-%s" % machine): 20 if not self.tc.hasHostPackage("packagegroup-cross-canadian-%s" % machine):
21 raise unittest.SkipTest("SDK doesn't contain a cross-canadian toolchain") 21 raise unittest.SkipTest("SDK doesn't contain a cross-canadian toolchain")
22 22
23 def test_iptables(self): 23 def test_lzip(self):
24 self.assertEqual(self.project.run_configure(), 0, 24 self.assertEqual(self.project.run_configure(), 0,
25 msg="Running configure failed") 25 msg="Running configure failed")
26 26