summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-03-20 16:45:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-22 11:35:21 +0000
commitb799e4a033a968e1a2c977b91a80e8de357c32b1 (patch)
treeee63a46278abb8358922d4d2d5d27dfb280e472f /meta
parent3a1e31d7148c1521509fb58ce2013f9b004f2b24 (diff)
downloadpoky-b799e4a033a968e1a2c977b91a80e8de357c32b1.tar.gz
oeqa/selftest: remove test_sanity_unsafe_binary_references
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. (From OE-Core rev: 4f5f552cd6601ba244ef4efc782616bc477e1340) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/buildoptions.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py
index a97257e417..7ace7474ea 100644
--- a/meta/lib/oeqa/selftest/buildoptions.py
+++ b/meta/lib/oeqa/selftest/buildoptions.py
@@ -114,25 +114,6 @@ do_install_append_pn-gzip () {
114 line = self.getline(res, "QA Issue: gzip") 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) 115 self.assertTrue(line and line.startswith("WARNING:"), "WARNING: QA Issue: gzip message is not present in bitbake's output: %s" % res.output)
116 116
117 @testcase(1434)
118 def test_sanity_unsafe_binary_references(self):
119 self.write_config('WARN_QA_append = " unsafe-references-in-binaries"')
120
121 #res = bitbake("nfs-utils")
122 # FIXME when nfs-utils passes this test
123 #line = self.getline(res, "QA Issue: nfs-utils")
124 #self.assertFalse(line, "WARNING: QA Issue: nfs-utils message is present in bitbake's output and shouldn't be: %s" % res.output)
125
126# self.append_config("""
127#do_install_append_pn-nfs-utils () {
128# echo "\n${bindir}/test" >> ${D}${base_sbindir}/osd_login
129#}
130#""")
131 self.add_command_to_tearDown('bitbake -c clean nfs-utils')
132 res = bitbake("nfs-utils -f -c package_qa")
133 line = self.getline(res, "QA Issue: nfs-utils")
134 self.assertTrue(line and line.startswith("WARNING:"), "WARNING: QA Issue: nfs-utils message is not present in bitbake's output: %s" % res.output)
135
136 @testcase(1421) 117 @testcase(1421)
137 def test_layer_without_git_dir(self): 118 def test_layer_without_git_dir(self):
138 """ 119 """