mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
oeqa/selftest/bbtests: Update to match changed bitbake output
(From OE-Core rev: 753645155b402c899080349bc741361480c4abe8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -63,8 +63,8 @@ class BitbakeTests(OESelftestTestCase):
|
||||
|
||||
def test_warnings_errors(self):
|
||||
result = bitbake('-b asdf', ignore_status=True)
|
||||
find_warnings = re.search("Summary: There w.{2,3}? [1-9][0-9]* WARNING messages* shown", result.output)
|
||||
find_errors = re.search("Summary: There w.{2,3}? [1-9][0-9]* ERROR messages* shown", result.output)
|
||||
find_warnings = re.search("Summary: There w.{2,3}? [1-9][0-9]* WARNING messages*", result.output)
|
||||
find_errors = re.search("Summary: There w.{2,3}? [1-9][0-9]* ERROR messages*", result.output)
|
||||
self.assertTrue(find_warnings, msg="Did not find the mumber of warnings at the end of the build:\n" + result.output)
|
||||
self.assertTrue(find_errors, msg="Did not find the mumber of errors at the end of the build:\n" + result.output)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user