mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
oeqa/buildoptions: remove unsafe-references-in-script test
This QA test is about to be deleted, so remove it from selftest. (From OE-Core rev: b9faf41ddc4510d484b5cbe8d182d8288fe00773) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b9b6ede7f8
commit
7b5e524c8e
@@ -96,24 +96,6 @@ class SanityOptionsTest(OESelftestTestCase):
|
||||
line = self.getline(res, "QA Issue: xcursor-transparent-theme-dbg is listed in PACKAGES multiple times, this leads to packaging errors.")
|
||||
self.assertTrue(line and line.startswith("WARNING:"), msg=res.output)
|
||||
|
||||
@OETestID(278)
|
||||
def test_sanity_unsafe_script_references(self):
|
||||
self.write_config('WARN_QA_append = " unsafe-references-in-scripts"')
|
||||
|
||||
self.add_command_to_tearDown('bitbake -c clean gzip')
|
||||
res = bitbake("gzip -f -c package_qa")
|
||||
line = self.getline(res, "QA Issue: gzip")
|
||||
self.assertFalse(line, "WARNING: QA Issue: gzip message is present in bitbake's output and shouldn't be: %s" % res.output)
|
||||
|
||||
self.append_config("""
|
||||
do_install_append_pn-gzip () {
|
||||
echo "\n${bindir}/test" >> ${D}${bindir}/zcat
|
||||
}
|
||||
""")
|
||||
res = bitbake("gzip -f -c package_qa")
|
||||
line = self.getline(res, "QA Issue: gzip")
|
||||
self.assertTrue(line and line.startswith("WARNING:"), "WARNING: QA Issue: gzip message is not present in bitbake's output: %s" % res.output)
|
||||
|
||||
@OETestID(1421)
|
||||
def test_layer_without_git_dir(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user