]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/bbtests: clean up local DL_DIR/SSTATE_DIR safely
authorRoss Burton <ross.burton@intel.com>
Tue, 20 Oct 2015 12:49:04 +0000 (13:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Oct 2015 21:54:58 +0000 (22:54 +0100)
commitaa3b859524bb693d3b150a8873a2ee24c78eac0a
tree53e4c8207268cbf1abfb7335999d605bdccc6859
parent5eaa4fa30e2362e6dd572b8a6f7a909b608e14bf
oeqa/selftest/bbtests: clean up local DL_DIR/SSTATE_DIR safely

Now that the selftests clean selftest.inc in the tearDown using bitbake in a
function passed to addCleanup (which happens after teardown) will use the
default configuration and not the customised one.

As the intention was to clean away the temporary DL_DIR and SSTATE_DIR, simple
use track_for_cleanup to delete the entire directory instead.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/bbtests.py