summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build-image.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-04-20 19:32:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-04 22:57:51 +0100
commit1ecf10dc338f3a7bdb3ea14a6636f6a6292f98dd (patch)
tree61fbc7f1f596af0df1fdbd9998fbcaf0c00e92b4 /scripts/lib/devtool/build-image.py
parent509dd69bad77320e6e910c8e6dc4091d5c482f6a (diff)
downloadpoky-1ecf10dc338f3a7bdb3ea14a6636f6a6292f98dd.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: be45a8271c06ffbb5d97afd33bb15b1143b6cf8d) 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: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build-image.py')
0 files changed, 0 insertions, 0 deletions