]> 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:19:23 +0000 (10:19 +0000)
commite9c6e974b49b8821cce8f2c7e3ba0dc16a5b46a0
treed40709fb456b17be044dd3e89550feb7b90bbb36
parent2696e69af0b32e03692d8644cc01b28dcf221aa1
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