mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
oeqa/bbtests: Show useful failure message for gplv3 test
If this test fails the current output tells us nothing about what happened. Show the exit status and output to aid debugging. (From OE-Core rev: e54437b7e7c5f1b8c33627b3914f896724207837) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -185,6 +185,6 @@ class BitbakeTests(oeSelfTest):
|
||||
ftools.append_file(conf ,data)
|
||||
self.addCleanup(ftools.remove_from_file, conf ,data)
|
||||
result = bitbake('readline', ignore_status=True)
|
||||
self.assertEqual(result.status, 0)
|
||||
self.assertEqual(result.status, 0, "Bitbake failed, exit code %s, output %s" % (result.status, result.output))
|
||||
self.assertFalse(os.path.isfile(os.path.join(self.builddir, 'tmp/deploy/licenses/readline/generic_GPLv3')))
|
||||
self.assertTrue(os.path.isfile(os.path.join(self.builddir, 'tmp/deploy/licenses/readline/generic_GPLv2')))
|
||||
|
||||
Reference in New Issue
Block a user