]> code.ossystems Code Review - openembedded-core.git/commit
selftest: Add argument to keep build dir
authorPaul Barker <pbarker@konsulko.com>
Thu, 7 Jan 2021 14:56:12 +0000 (14:56 +0000)
committerSteve Sakoman <steve@sakoman.com>
Fri, 8 Jan 2021 13:57:37 +0000 (03:57 -1000)
commit51fa76c699517ad63f8d6c4db4b6938d894f5c6c
tree5400d77b8e7324dce9fb34230d0d8e3da0577ab0
parent832e9e6bac91755f6a6a8ab9af0e48c189d3e493
selftest: Add argument to keep build dir

The oe-selftest code already keeps the selftest build directory in place
if any tests failed. By default the build directory is deleted if all
tests pass but there may be cases where it's desirable to keep this
directory around, for example to compare intermediate files between
passing and failing test runs.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 67aa7069dbe8f5f5f186eb67708ece5c4bd42976)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/selftest/context.py