]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest: remove test_sanity_unsafe_binary_references
authorRoss Burton <ross.burton@intel.com>
Mon, 20 Mar 2017 16:45:21 +0000 (16:45 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Mar 2017 22:43:03 +0000 (22:43 +0000)
This test was attempting to exercise a broken test, for some reason this broke
with patches under review but investigation revealed that the test itself is
broken.  The test has been removed, so there's no need to test it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/buildoptions.py

index a97257e417777eb4173cc96237e7532934227de6..7ace7474ea24b490dd42fd60c71483e0e6004e8d 100644 (file)
@@ -114,25 +114,6 @@ do_install_append_pn-gzip () {
         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)
 
-    @testcase(1434)
-    def test_sanity_unsafe_binary_references(self):
-        self.write_config('WARN_QA_append = " unsafe-references-in-binaries"')
-
-        #res = bitbake("nfs-utils")
-        # FIXME when nfs-utils passes this test
-        #line = self.getline(res, "QA Issue: nfs-utils")
-        #self.assertFalse(line, "WARNING: QA Issue: nfs-utils message is present in bitbake's output and shouldn't be: %s" % res.output)
-
-#        self.append_config("""
-#do_install_append_pn-nfs-utils () {
-#      echo "\n${bindir}/test" >> ${D}${base_sbindir}/osd_login
-#}
-#""")
-        self.add_command_to_tearDown('bitbake -c clean nfs-utils')
-        res = bitbake("nfs-utils -f -c package_qa")
-        line = self.getline(res, "QA Issue: nfs-utils")
-        self.assertTrue(line and line.startswith("WARNING:"), "WARNING: QA Issue: nfs-utils message is not present in bitbake's output: %s" % res.output)
-
     @testcase(1421)
     def test_layer_without_git_dir(self):
         """