poky/meta/lib/oeqa
Mariano Lopez 6b41b7cc32 testimage: handle SIGTERM to conclude runqemu
In the current state if a SIGTERM is sent to
the testimage worker, the worker will exit but
runqemu and qemu won't exit and the processes
need to be killed manually to free the
bitbake lock.

This allows to catch the SIGTERM signal in
testimage, this way it is possible to stop
runqemu and qemu and allow to free the bitbake lock.

Also this allows to skip the rest of the tests
when running the tests in qemu or real hardware.

This also solves minimal breaks in the setup of the
runtime test when checking if qemu is alive.

[YOCTO #8239]

(From OE-Core rev: 2694d2f17d597b44fcc7aed5f6836081fa88a6b3)

Signed-off-by: Benjamin Esquivel <benjamin.esquivel@linux.intel.com>
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-09 14:27:39 +01:00
..
controllers meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
runtime oeqa/runtime/multilib: add test for libc 2015-08-30 12:36:14 +01:00
sdk lib/oeqa: Add sdk tests for gcc/perl/python 2015-04-29 10:58:55 +01:00
selftest wic: add test cases for 3 images 2015-09-03 12:43:25 +01:00
utils oeqa/decorators: Fixed a problem with tests having the same names. 2015-09-06 15:26:22 +01:00
__init__.py lib/oeqa/oetest.py: base module for all runtime unittests 2013-07-09 10:53:43 +01:00
oetest.py testimage: handle SIGTERM to conclude runqemu 2015-09-09 14:27:39 +01:00
runexported.py runexported: Make it compatible with host dump 2015-09-03 12:43:17 +01:00
targetcontrol.py oeqa: Test failure/cleanup improvements 2015-09-06 15:26:18 +01:00