[oe-commits] [openembedded-core] 17/17: oeqa/selftest/lic-checksum: don't report the expected failure to errors.yp

git at git.openembedded.org git at git.openembedded.org
Tue Sep 20 14:11:48 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit b2771e17a5f301423f65be9f93c9c1b1e7f8ab93
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Sep 20 09:13:51 2016 +0100

    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.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/lib/oeqa/selftest/lic-checksum.py | 1 +
 1 file changed, 1 insertion(+)

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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list