summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/buildoptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/buildoptions.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/buildoptions.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/meta/lib/oeqa/selftest/cases/buildoptions.py b/meta/lib/oeqa/selftest/cases/buildoptions.py
index 1f1bb7ae63..cf221c33af 100644
--- a/meta/lib/oeqa/selftest/cases/buildoptions.py
+++ b/meta/lib/oeqa/selftest/cases/buildoptions.py
@@ -96,24 +96,6 @@ class SanityOptionsTest(OESelftestTestCase):
96 line = self.getline(res, "QA Issue: xcursor-transparent-theme-dbg is listed in PACKAGES multiple times, this leads to packaging errors.") 96 line = self.getline(res, "QA Issue: xcursor-transparent-theme-dbg is listed in PACKAGES multiple times, this leads to packaging errors.")
97 self.assertTrue(line and line.startswith("WARNING:"), msg=res.output) 97 self.assertTrue(line and line.startswith("WARNING:"), msg=res.output)
98 98
99 @OETestID(278)
100 def test_sanity_unsafe_script_references(self):
101 self.write_config('WARN_QA_append = " unsafe-references-in-scripts"')
102
103 self.add_command_to_tearDown('bitbake -c clean gzip')
104 res = bitbake("gzip -f -c package_qa")
105 line = self.getline(res, "QA Issue: gzip")
106 self.assertFalse(line, "WARNING: QA Issue: gzip message is present in bitbake's output and shouldn't be: %s" % res.output)
107
108 self.append_config("""
109do_install_append_pn-gzip () {
110 echo "\n${bindir}/test" >> ${D}${bindir}/zcat
111}
112""")
113 res = bitbake("gzip -f -c package_qa")
114 line = self.getline(res, "QA Issue: gzip")
115 self.assertTrue(line and line.startswith("WARNING:"), "WARNING: QA Issue: gzip message is not present in bitbake's output: %s" % res.output)
116
117 @OETestID(1421) 99 @OETestID(1421)
118 def test_layer_without_git_dir(self): 100 def test_layer_without_git_dir(self):
119 """ 101 """