From: Richard Purdie Date: Fri, 8 Jul 2016 08:49:01 +0000 (+0100) Subject: oeqa/selftest/bbtests: Fix failing test after progress changes X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90dbd838fa97c89ace5cb147aa5cff39b94178b1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py index 26728a4b412..4b423237b04 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)