diff options
author | Ross Burton <ross.burton@intel.com> | 2016-09-20 09:13:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-20 15:11:09 +0100 |
commit | a767c78abeb19a9d730e3c9b1f64c13fbbcade17 (patch) | |
tree | 8a9ee74d373daaca56180ec25878865f7408ecd8 /meta/lib | |
parent | ffdc23ab5311b651e27c9bda16da5ddd482249fa (diff) | |
download | poky-a767c78abeb19a9d730e3c9b1f64c13fbbcade17.tar.gz |
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.
(From OE-Core rev: b2771e17a5f301423f65be9f93c9c1b1e7f8ab93)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/lic-checksum.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/lic-checksum.py b/meta/lib/oeqa/selftest/lic-checksum.py index df44c97e80..2e81373ae4 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" | |||
29 | with open(lic_path, "w") as f: | 29 | with open(lic_path, "w") as f: |
30 | f.write("data") | 30 | f.write("data") |
31 | 31 | ||
32 | self.write_config("INHERIT_remove = \"report-error\"") | ||
32 | result = bitbake(bitbake_cmd, ignore_status=True) | 33 | result = bitbake(bitbake_cmd, ignore_status=True) |
33 | if error_msg not in result.output: | 34 | if error_msg not in result.output: |
34 | raise AssertionError(result.output) | 35 | raise AssertionError(result.output) |