diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-08 09:49:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-08 09:57:26 +0100 |
commit | 1bbd580a3718b45fb72bb70462df5294a171eb72 (patch) | |
tree | 64a37537a0efb07d24e93176eb933d5489892ae9 /meta/lib/oeqa/selftest | |
parent | c7147ceec89a033b56dfee6211935363c6a4315e (diff) | |
download | poky-1bbd580a3718b45fb72bb70462df5294a171eb72.tar.gz |
oeqa/selftest/bbtests: Fix failing test after progress changes
The progress patches change the output slightly, update the test to
deal with this.
(From OE-Core rev: 90dbd838fa97c89ace5cb147aa5cff39b94178b1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r-- | meta/lib/oeqa/selftest/bbtests.py | 2 |
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): | |||
29 | def test_event_handler(self): | 29 | def test_event_handler(self): |
30 | self.write_config("INHERIT += \"test_events\"") | 30 | self.write_config("INHERIT += \"test_events\"") |
31 | result = bitbake('m4-native') | 31 | result = bitbake('m4-native') |
32 | find_build_started = re.search("NOTE: Test for bb\.event\.BuildStarted(\n.*)*NOTE: Preparing RunQueue", result.output) | 32 | find_build_started = re.search("NOTE: Test for bb\.event\.BuildStarted(\n.*)*NOTE: Executing RunQueue Tasks", result.output) |
33 | find_build_completed = re.search("Tasks Summary:.*(\n.*)*NOTE: Test for bb\.event\.BuildCompleted", result.output) | 33 | find_build_completed = re.search("Tasks Summary:.*(\n.*)*NOTE: Test for bb\.event\.BuildCompleted", result.output) |
34 | self.assertTrue(find_build_started, msg = "Match failed in:\n%s" % result.output) | 34 | self.assertTrue(find_build_started, msg = "Match failed in:\n%s" % result.output) |
35 | self.assertTrue(find_build_completed, msg = "Match failed in:\n%s" % result.output) | 35 | self.assertTrue(find_build_completed, msg = "Match failed in:\n%s" % result.output) |