diff options
| author | Ross Burton <ross.burton@intel.com> | 2017-08-08 15:52:16 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-13 09:27:38 +0100 |
| commit | 7b5e524c8ea071ca244982af28a39dbe94f1fe35 (patch) | |
| tree | 3c175641a56000d648579ce371f7924d040ed2d1 /meta/lib/oeqa | |
| parent | b9b6ede7f8a191b82e8c8c711ad7425fa774c876 (diff) | |
| download | poky-7b5e524c8ea071ca244982af28a39dbe94f1fe35.tar.gz | |
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>
Diffstat (limited to 'meta/lib/oeqa')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/buildoptions.py | 18 |
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(""" | ||
| 109 | do_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 | """ |
