]> code.ossystems Code Review - openembedded-core.git/commit
oetest.py: Added method tearDown for oeRuntimeTest
authorMariano Lopez <mariano.lopez@linux.intel.com>
Wed, 12 Aug 2015 10:58:53 +0000 (10:58 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 16 Aug 2015 08:24:22 +0000 (09:24 +0100)
commit8bbfef69828d9b053e2a33dfa9d8318d9572cf6b
treebea3c2c6d3dad93820b9f5afdc2f8a9df654eaaf
parent600f35c0873a61f8cd02c0e5cc1495ce7785ea89
oetest.py: Added method tearDown for oeRuntimeTest

The tearDown method is triggered when a tests ends
it doesn't matter if fails or succeeds. Inside this
method added an evalution to check if fails and then
run some commands in the target to get the data for
later debugging.

[YOCTO #8118]

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