]> code.ossystems Code Review - openembedded-core.git/commit
oe-selftest: Improve BUILDDIR environment handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Jan 2017 23:34:30 +0000 (23:34 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jan 2017 13:53:44 +0000 (13:53 +0000)
commit689b676bbf2f1a5fadb04aeb41d5e68e35356545
tree1cc35926308ed1c95e464632d5c0ba881fa87f54
parentb6feb7578d60289c8b6e376cfaac8a3ee45e72f9
oe-selftest: Improve BUILDDIR environment handling

Its possible something (like bitbake/tinfoil2) may mess around with the
environment and using the enviroment as a global variable store isn't
particularly nice anyway.

This patch changes the BUILDDIR usages so that the environment isn't used
as a global store and a global variable is used instead. Whilst that
is still not perfect, it does avoid the current double and triple backtraces
we're seeing where tinfoil2/bitbake has trampled the enviroment leading
to failures of failures making debugging even harder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-selftest