Skip to contentSkip to conversation

oeqa/selftest/lic-checksum: don't report the expected failure to errors.yp

PATCH New Ross Burton 1 participant 1 message Sep 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 oeqa/selftest/lic-checksum: don't report the expected failure to errors.yp

This test has a bitbake invocation that is expected to fail, so inhibit report-error running.

---
 meta/lib/oeqa/selftest/lic-checksum.py | 1 +
 1 file changed, 1 insertion(+)
meta/lib/oeqa/selftest/lic-checksum.py +1 -0
index df44c97..2e81373 100644
@@ -29,6 +29,7 @@ SRC_URI = "file://%s;md5=d41d8cd98f00b204e9800998ecf8427e"
         with open(lic_path, "w") as f:
             f.write("data")
 
+        self.write_config("INHERIT_remove = \"report-error\"")
         result = bitbake(bitbake_cmd, ignore_status=True)
         if error_msg not in result.output:
             raise AssertionError(result.output)
Signature · 1 line
2.8.1