]> 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>
Thu, 6 Dec 2018 10:29:37 +0000 (10:29 +0000)
commit6f2bb2c12289422396deb793ae4b4e99cfa88c7b
tree95fa6e668732c157f901fef120f9de4c2dcc72ed
parentedd2ecbc86d8b02a0467491451306f67e81d9ead
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.

(From OE-Core rev: c29cb75d5ce6b0873a934f4709b0c8824f7164d3)

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