]> code.ossystems Code Review - openembedded-core.git/commit
testimage.bbclass: Fix break introduced with SIGTERM handling
authorMariano Lopez <mariano.lopez@linux.intel.com>
Fri, 18 Sep 2015 13:31:32 +0000 (13:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Sep 2015 14:39:38 +0000 (15:39 +0100)
commit94ab9892e87f159840432fdbfb3873d4496d4786
tree29b7129ea93b64694f868e17d3459d64451ad9dd
parent2a19b13bdd5ab1505464c4c4bc0129a9a8ee0c7c
testimage.bbclass: Fix break introduced with SIGTERM handling

The SIGTERM introduced another break into runexported test,
the handler is in the class TestContext while exporting it
will try to convert the singnal handler to JSON, and this
will throw an exception.

The SIGTERM handler is not needed in the exported test, so this
change will remove the handler before exporting the test. Also
when a test is exported the target is not deployed/started
anymore, it is not necessary.

[YOCTO #8239]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/testimage.bbclass