diff mbox

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

Message ID 1474359313-2640-1-git-send-email-ross.burton@intel.com
State Accepted
Commit b2771e17a5f301423f65be9f93c9c1b1e7f8ab93
Headers show

Commit Message

Ross Burton Sept. 20, 2016, 8:15 a.m. UTC
This test has a bitbake invocation that is expected to fail, so inhibit
report-error running.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/lib/oeqa/selftest/lic-checksum.py | 1 +
 1 file changed, 1 insertion(+)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox

Patch

diff --git a/meta/lib/oeqa/selftest/lic-checksum.py b/meta/lib/oeqa/selftest/lic-checksum.py
index df44c97..2e81373 100644
--- a/meta/lib/oeqa/selftest/lic-checksum.py
+++ b/meta/lib/oeqa/selftest/lic-checksum.py
@@ -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)