summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/buildoptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/buildoptions.py')
-rw-r--r--meta/lib/oeqa/selftest/buildoptions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py
index e9a5aaddd1..35d5dfd29a 100644
--- a/meta/lib/oeqa/selftest/buildoptions.py
+++ b/meta/lib/oeqa/selftest/buildoptions.py
@@ -57,6 +57,7 @@ class ImageOptionsTests(oeSelfTest):
57 res = runCmd("grep ccache %s" % (os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile")), ignore_status=True) 57 res = runCmd("grep ccache %s" % (os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile")), ignore_status=True)
58 self.assertEqual(0, res.status, msg="No match for ccache in m4 log.do_compile. For further details: %s" % os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile")) 58 self.assertEqual(0, res.status, msg="No match for ccache in m4 log.do_compile. For further details: %s" % os.path.join(get_bb_var("WORKDIR","m4"),"temp/log.do_compile"))
59 59
60 @testcase(1435)
60 def test_read_only_image(self): 61 def test_read_only_image(self):
61 self.write_config('IMAGE_FEATURES += "read-only-rootfs"') 62 self.write_config('IMAGE_FEATURES += "read-only-rootfs"')
62 bitbake("core-image-sato") 63 bitbake("core-image-sato")
@@ -124,6 +125,7 @@ do_install_append_pn-gzip () {
124 line = self.getline(res, "QA Issue: gzip") 125 line = self.getline(res, "QA Issue: gzip")
125 self.assertTrue(line and line.startswith("WARNING:"), "WARNING: QA Issue: gzip message is not present in bitbake's output: %s" % res.output) 126 self.assertTrue(line and line.startswith("WARNING:"), "WARNING: QA Issue: gzip message is not present in bitbake's output: %s" % res.output)
126 127
128 @testcase(1434)
127 def test_sanity_unsafe_binary_references(self): 129 def test_sanity_unsafe_binary_references(self):
128 self.write_config('WARN_QA_append = " unsafe-references-in-binaries"') 130 self.write_config('WARN_QA_append = " unsafe-references-in-binaries"')
129 131