diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-12-23 14:39:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-25 08:27:12 +0000 |
commit | 8bb5dccedb702db8633d4fc9d32248fad6dd2212 (patch) | |
tree | 590577d297df854f8e7fc537bfc2d7117b322a7e /meta/lib/oeqa/selftest/bbtests.py | |
parent | 7d9b5fb69ab5012f99d5fb6edc263df00e9467f5 (diff) | |
download | poky-8bb5dccedb702db8633d4fc9d32248fad6dd2212.tar.gz |
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>
Diffstat (limited to 'meta/lib/oeqa/selftest/bbtests.py')
-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 68f97bd8e3..2a85f10821 100644 --- a/meta/lib/oeqa/selftest/bbtests.py +++ b/meta/lib/oeqa/selftest/bbtests.py | |||
@@ -27,7 +27,7 @@ class BitbakeTests(oeSelfTest): | |||
27 | def test_event_handler(self): | 27 | def test_event_handler(self): |
28 | self.write_config("INHERIT += \"test_events\"") | 28 | self.write_config("INHERIT += \"test_events\"") |
29 | result = bitbake('m4-native') | 29 | result = bitbake('m4-native') |
30 | find_build_started = re.search("NOTE: Test for bb\.event\.BuildStarted(\n.*)*NOTE: Preparing runqueue", result.output) | 30 | find_build_started = re.search("NOTE: Test for bb\.event\.BuildStarted(\n.*)*NOTE: Preparing RunQueue", result.output) |
31 | find_build_completed = re.search("Tasks Summary:.*(\n.*)*NOTE: Test for bb\.event\.BuildCompleted", result.output) | 31 | find_build_completed = re.search("Tasks Summary:.*(\n.*)*NOTE: Test for bb\.event\.BuildCompleted", result.output) |
32 | self.assertTrue(find_build_started, msg = "Match failed in:\n%s" % result.output) | 32 | self.assertTrue(find_build_started, msg = "Match failed in:\n%s" % result.output) |
33 | self.assertTrue(find_build_completed, msg = "Match failed in:\n%s" % result.output) | 33 | self.assertTrue(find_build_completed, msg = "Match failed in:\n%s" % result.output) |