]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/runqemu: Improve testcase failure handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Dec 2018 20:46:06 +0000 (20:46 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Dec 2018 12:34:06 +0000 (12:34 +0000)
commitc29cb75d5ce6b0873a934f4709b0c8824f7164d3
tree256dc4e0a2512b2a7a7313b87dafa137ba401ad3
parent521dd3d00979a27b6932e58d5497de68abac26e1
oeqa/selftest/runqemu: Improve testcase failure handling

assertTrue doesn't give good debug information when things fail. Update
several to use assertIn which gives information upon failure, for the
others print the log information upon failure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/runqemu.py