diff options
author | Tyler Hall <tylerwhall@gmail.com> | 2014-08-09 18:43:57 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-11 12:30:52 +0100 |
commit | 92785a1a96607f236c26bb656438b5d0511f82fe (patch) | |
tree | 745773c83cda40e3072a6ef63a7693f078b8e345 /meta | |
parent | d43b4392bb2e0d3d48457b5283fe0c43bb203e60 (diff) | |
download | poky-92785a1a96607f236c26bb656438b5d0511f82fe.tar.gz |
lib/oeqa/selftest: Don't match log level in output
To facilitate changing the log level of the "Fetcher failure" message,
search only for the message without the "Error:" prefix.
(From OE-Core rev: 947e6f9005abc71f499f23a4dd3a5a9f8386a369)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 e765e366c1..68f97bd8e3 100644 --- a/meta/lib/oeqa/selftest/bbtests.py +++ b/meta/lib/oeqa/selftest/bbtests.py | |||
@@ -102,7 +102,7 @@ class BitbakeTests(oeSelfTest): | |||
102 | bitbake('-ccleanall man') | 102 | bitbake('-ccleanall man') |
103 | self.delete_recipeinc('man') | 103 | self.delete_recipeinc('man') |
104 | self.assertEqual(result.status, 1, msg='Command succeded when it should have failed') | 104 | self.assertEqual(result.status, 1, msg='Command succeded when it should have failed') |
105 | self.assertTrue('ERROR: Fetcher failure: Unable to find file file://invalid anywhere. The paths that were searched were:' in result.output) | 105 | self.assertTrue('Fetcher failure: Unable to find file file://invalid anywhere. The paths that were searched were:' in result.output) |
106 | self.assertTrue('ERROR: Function failed: Fetcher failure for URL: \'file://invalid\'. Unable to fetch URL from any source.' in result.output) | 106 | self.assertTrue('ERROR: Function failed: Fetcher failure for URL: \'file://invalid\'. Unable to fetch URL from any source.' in result.output) |
107 | 107 | ||
108 | @testcase(171) | 108 | @testcase(171) |