diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-04-20 19:32:58 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-04 22:57:55 +0100 |
| commit | 7d86fc1d9f2e9af915d6a66ad3d212800c53163a (patch) | |
| tree | d0d822258f7199f83706e572c0cacf7f8d710fa8 /meta-skeleton | |
| parent | 9e68bd2c94cfcde9c2a9348459f3355b5b71861d (diff) | |
| download | poky-7d86fc1d9f2e9af915d6a66ad3d212800c53163a.tar.gz | |
oeqa: tear down oeqa decorators if one of them raises an exception in setup
Some of the decorators need proper cleanup, such as OETimeout
which sets a signal handler that needs to be cleared via teardown.
If this is not done then the signal gets called later with unpredictable effects.
This can be seen if there's a test that is skipped via a decorator and sets a timeout
at the same time: the timeout isn't cleared, and is invoked later in a
completely unrelated context. The test case for this is added in the
next commit.
(From OE-Core rev: d004c39ae70077c2c6f59afcfdecb6e9378cf692)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f42a08e1aabf1ca57e0c09d69fb69cc717c7f156)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions
