diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-05-26 15:37:40 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-02 13:36:14 +0100 |
commit | d3d4ba902dee8b19fa1054330cffdf73f9b81fe7 (patch) | |
tree | cbf70954f69170253d3882ecb3b277b88c0ce5da /meta/lib/oeqa/sdkext | |
parent | 008cc04790845721bea649e9a9ff84f0d466f771 (diff) | |
download | poky-d3d4ba902dee8b19fa1054330cffdf73f9b81fe7.tar.gz |
oeqa/core/decorator/oetimeout: Add support for OEQA threaded mode
In python signals are only allowed to delivery into the main thread,
to support the threading mode test if the runner is threaded and
use threading.Timer instead.
There are some considerations like SIGALRM interrupts the execution
after N seconds but the Timer only starts a Thread to notice the
timeout and the exception will be raised when the test run ends.
[YOCTO #11450]
(From OE-Core rev: 8ab201612e22493dc2509ba339a8f07ade611a54)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdkext')
0 files changed, 0 insertions, 0 deletions