mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d43b4392bb
commit
92785a1a96
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user