From: Paul Eggleton Date: Tue, 23 Dec 2014 14:39:03 +0000 (+0000) Subject: oeqa/selftest: fix test_event_handler for changes in bitbake output X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~31728 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b3c6aa09301c0c19e7fc8720cd3d1b036c5b103;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/selftest: fix test_event_handler for changes in bitbake output Signed-off-by: Paul Eggleton --- diff --git a/meta/lib/oeqa/selftest/bbtests.py b/meta/lib/oeqa/selftest/bbtests.py index 68f97bd8e32..2a85f10821b 100644 --- a/meta/lib/oeqa/selftest/bbtests.py +++ b/meta/lib/oeqa/selftest/bbtests.py @@ -27,7 +27,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: Preparing RunQueue", 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)