diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 12:55:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-19 17:24:46 +0000 |
commit | 1da8f52b67ac6ce5819e30530385e5628f11b85f (patch) | |
tree | bfda29162420863d98836d7552eabb595b3c0ab2 /meta/lib/oeqa | |
parent | dd286953208489f8c9c5d02de06dbd75709b01a5 (diff) | |
download | poky-1da8f52b67ac6ce5819e30530385e5628f11b85f.tar.gz |
insane: Start to clean up do_configure_qa code
This cleans up the do_configure_qa code so that the exit status from
package_qa_handle_error is handled correctly.
It also converts package_qa_check_license to use our standard QA check
configuration interface through package_qa_handle_error rather than
a mix of return values, bb.fatal and bb.build.FuncFailed.
Due to the merging of multiple lines into one message, we need to
tweak a QA test to account for this.
(From OE-Core rev: fbdf977a8094bb1e0baca85ffb3ed7f326986639)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/lic-checksum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/lic-checksum.py b/meta/lib/oeqa/selftest/lic-checksum.py index bd3b9a1ba3..cac6d84452 100644 --- a/meta/lib/oeqa/selftest/lic-checksum.py +++ b/meta/lib/oeqa/selftest/lic-checksum.py | |||
@@ -13,7 +13,7 @@ class LicenseTests(oeSelfTest): | |||
13 | @testcase(1197) | 13 | @testcase(1197) |
14 | def test_nonmatching_checksum(self): | 14 | def test_nonmatching_checksum(self): |
15 | bitbake_cmd = '-c configure emptytest' | 15 | bitbake_cmd = '-c configure emptytest' |
16 | error_msg = 'ERROR: emptytest: The new md5 checksum is 8d777f385d3dfec8815d20f7496026dc' | 16 | error_msg = 'emptytest: The new md5 checksum is 8d777f385d3dfec8815d20f7496026dc' |
17 | 17 | ||
18 | lic_file, lic_path = tempfile.mkstemp() | 18 | lic_file, lic_path = tempfile.mkstemp() |
19 | os.close(lic_file) | 19 | os.close(lic_file) |