oeqa/selftest: fix test_event_handler for changes in bitbake output
(From OE-Core rev: 3b3c6aa09301c0c19e7fc8720cd3d1b036c5b103) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7d9b5fb69a
commit
8bb5dccedb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue