mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 04:42:35 +00: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:
parent
58ecd46c64
commit
3360f9343d
@ -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')))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user