]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest/bbtests: Update to match changed bitbake output
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Feb 2022 22:40:09 +0000 (22:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 17 Feb 2022 17:48:10 +0000 (17:48 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/bbtests.py

index 695cabef8ac36f99b4474597ebd3088363ed8f63..e2b9290200ac128b35322229f6700bc87337fbf8 100644 (file)
@@ -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)