]> code.ossystems Code Review - openembedded-core.git/commit
oetest: Change logic of a failed test
authorMariano Lopez <mariano.lopez@linux.intel.com>
Mon, 28 Sep 2015 11:53:18 +0000 (11:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Oct 2015 06:40:22 +0000 (07:40 +0100)
commit8b97d9320b989023c62db8246f5d8d2126c3723e
treeed84297a2f5e5849ae35924cdf64978ae1720ab3
parentbc4dfe74ecd8d4f233baf16325dae31972da269a
oetest: Change logic of a failed test

Currently the logic to check if a test failed was
to check for an exception in the thread, but some
decorators used in the syslog runtime test would
generate and handle exceptions; this will mess
with the current check logic and will dump the
host and the target as if the test failed.

This patch changes the check logic to verify if
the test that just happend is in the failure test
list and dump the host and target accordingly.

[YOCTO #8406]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/oetest.py