diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-27 13:42:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-02 16:12:37 +0100 |
commit | 3d815d7227607328d95270f87dcd7777e5c4f849 (patch) | |
tree | 3cdbf89af57b8aaa7dd4b61d3776383974426fa3 /meta/classes/manpages.bbclass | |
parent | a225c162e6a2097e724e53cb0a0be8d89131148b (diff) | |
download | poky-3d815d7227607328d95270f87dcd7777e5c4f849.tar.gz |
oeqa/selftest: Clean up separate builddir in success case when non-threaded
If oe-selftest is run without -j, the separate build directory "build-st"
isn't cleaned up afterwards. Mirror the behaviour of the -j option to
handle this the same way, only preserve upon failure.
To do this, the remove function needs to be moved to the selftest
context module so that it can be accessed without requiring the
testtools and subunit modules the -j option requires.
A dummy wrapper class is used to wrap the tests and clean up afterwards.
[YOCTO #13953]
(From OE-Core rev: 20e7b1eeeb12f1cf4bd9934e0a5733c6bbe64372)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b376ade430d40d3cfe9c18f200c764d622710e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/manpages.bbclass')
0 files changed, 0 insertions, 0 deletions