]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest/lic-checksum: don't report the expected failure to errors.yp
authorRoss Burton <ross.burton@intel.com>
Tue, 20 Sep 2016 08:13:51 +0000 (09:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Sep 2016 14:10:37 +0000 (15:10 +0100)
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

index df44c97e80df281236a0ba748446899f2f45a9a8..2e81373ae4a937cdf6e1ec44ee8d05024e9ffdaa 100644 (file)
@@ -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)