From cb0ed5a97c5d1fe463fd4764e60fa4d0f802938e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 15 Feb 2022 22:40:09 +0000 Subject: oeqa/selftest/bbtests: Update to match changed bitbake output (From OE-Core rev: 753645155b402c899080349bc741361480c4abe8) Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/bbtests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/lib/oeqa/selftest/cases/bbtests.py') diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py index 695cabef8a..e2b9290200 100644 --- a/meta/lib/oeqa/selftest/cases/bbtests.py +++ b/meta/lib/oeqa/selftest/cases/bbtests.py @@ -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) -- cgit v1.2.3-54-g00ecf