]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Thu, 14 Jan 2021 02:48:18 +0000 (10:48 +0800)
commitf41c17a155e9bfd233bc2166c6ab7f5e547f39fa
treed02701fae7e1450794a9c46360e93041fbfcbcf4
parentf1a0ea55c0ae2cce7f7c3c6c73f57c5b8222c860
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: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oeqa/selftest/context.py