summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorTyler Hall <tylerwhall@gmail.com>2014-08-09 18:43:57 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-11 12:23:10 +0100
commit947e6f9005abc71f499f23a4dd3a5a9f8386a369 (patch)
treebe23c11eaa9f8299abaca9b929e225961ba5e5b5 /meta
parentb1bfec63949e16abe8c11c34530dfbfb176c04cd (diff)
downloadopenembedded-core-947e6f9005abc71f499f23a4dd3a5a9f8386a369.tar.gz
openembedded-core-947e6f9005abc71f499f23a4dd3a5a9f8386a369.tar.bz2
openembedded-core-947e6f9005abc71f499f23a4dd3a5a9f8386a369.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/selftest/bbtests.py2
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):
bitbake('-ccleanall man')
self.delete_recipeinc('man')
self.assertEqual(result.status, 1, msg='Command succeded when it should have failed')
- self.assertTrue('ERROR: Fetcher failure: Unable to find file file://invalid anywhere. The paths that were searched were:' in result.output)
+ self.assertTrue('Fetcher failure: Unable to find file file://invalid anywhere. The paths that were searched were:' in result.output)
self.assertTrue('ERROR: Function failed: Fetcher failure for URL: \'file://invalid\'. Unable to fetch URL from any source.' in result.output)
@testcase(171)