]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/selftest/bbtests: Fix failing test after progress changes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jul 2016 08:49:01 +0000 (09:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jul 2016 08:55:42 +0000 (09:55 +0100)
The progress patches change the output slightly, update the test to
deal with this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/bbtests.py

index 26728a4b41240fffbf5ed663ee9d2a6138499e25..4b423237b04212d11d0afdd7ef1673f5f190d525 100644 (file)
@@ -29,7 +29,7 @@ class BitbakeTests(oeSelfTest):
     def test_event_handler(self):
         self.write_config("INHERIT += \"test_events\"")
         result = bitbake('m4-native')
-        find_build_started = re.search("NOTE: Test for bb\.event\.BuildStarted(\n.*)*NOTE: Preparing RunQueue", result.output)
+        find_build_started = re.search("NOTE: Test for bb\.event\.BuildStarted(\n.*)*NOTE: Executing RunQueue Tasks", result.output)
         find_build_completed = re.search("Tasks Summary:.*(\n.*)*NOTE: Test for bb\.event\.BuildCompleted", result.output)
         self.assertTrue(find_build_started, msg = "Match failed in:\n%s"  % result.output)
         self.assertTrue(find_build_completed, msg = "Match failed in:\n%s" % result.output)