summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-08 09:49:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-08 09:55:42 +0100
commit90dbd838fa97c89ace5cb147aa5cff39b94178b1 (patch)
tree27c4a6a23ef1ccfb9287b911a500f8e80ce64e73
parentf0420d8c934154a94957cabcfdc993f0eae92cd7 (diff)
downloadopenembedded-core-90dbd838fa97c89ace5cb147aa5cff39b94178b1.tar.gz
openembedded-core-90dbd838fa97c89ace5cb147aa5cff39b94178b1.tar.bz2
openembedded-core-90dbd838fa97c89ace5cb147aa5cff39b94178b1.zip
oeqa/selftest/bbtests: Fix failing test after progress changes
The progress patches change the output slightly, update the test to deal with this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/bbtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py
index 26728a4b41..4b423237b0 100644
--- a/meta/lib/oeqa/selftest/bbtests.py
+++ b/meta/lib/oeqa/selftest/bbtests.py
@@ -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)