summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2016-11-18 11:37:53 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-16 10:23:22 +0000
commit279c8ce310dc9d471ec17d74d286b9213d61464b (patch)
treed98226a6b5776bb412897db5f3c6ab75694b8adb
parent009adf73fa8e300dd8807506352162f4c234639a (diff)
downloadpoky-279c8ce310dc9d471ec17d74d286b9213d61464b.tar.gz
selftest: bbtests: use minimal image so all distros can execute it
poky-tiny distro cannot build full-cmdline image, so use an image (core-image-minimal) that can be built in all distros. (From OE-Core rev: b293dd4200bbb3705c88af6113be7f43fbd0ed72) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/bbtests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py
index baae1e0e54..08cc4012fc 100644
--- a/meta/lib/oeqa/selftest/bbtests.py
+++ b/meta/lib/oeqa/selftest/bbtests.py
@@ -114,11 +114,11 @@ class BitbakeTests(oeSelfTest):
114 114
115 @testcase(167) 115 @testcase(167)
116 def test_bitbake_g(self): 116 def test_bitbake_g(self):
117 result = bitbake('-g core-image-full-cmdline') 117 result = bitbake('-g core-image-minimal')
118 for f in ['pn-buildlist', 'pn-depends.dot', 'package-depends.dot', 'task-depends.dot']: 118 for f in ['pn-buildlist', 'pn-depends.dot', 'package-depends.dot', 'task-depends.dot']:
119 self.addCleanup(os.remove, f) 119 self.addCleanup(os.remove, f)
120 self.assertTrue('NOTE: PN build list saved to \'pn-buildlist\'' in result.output, msg = "No dependency \"pn-buildlist\" file was generated for the given task target. bitbake output: %s" % result.output) 120 self.assertTrue('NOTE: PN build list saved to \'pn-buildlist\'' in result.output, msg = "No dependency \"pn-buildlist\" file was generated for the given task target. bitbake output: %s" % result.output)
121 self.assertTrue('openssh' in ftools.read_file(os.path.join(self.builddir, 'pn-buildlist')), msg = "No \"openssh\" dependency found in pn-buildlist file.") 121 self.assertTrue('busybox' in ftools.read_file(os.path.join(self.builddir, 'pn-buildlist')), msg = "No \"busybox\" dependency found in pn-buildlist file.")
122 122
123 @testcase(899) 123 @testcase(899)
124 def test_image_manifest(self): 124 def test_image_manifest(self):