]> code.ossystems Code Review - openembedded-core.git/commit
oe-selftest: Error if known problem variables are set
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Apr 2017 18:54:20 +0000 (19:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Apr 2017 22:55:53 +0000 (23:55 +0100)
commit0c9b981e88c76da316e76f17e6da3a03b87c5008
tree655d1be1c93297902faf96b6bf0c621efc9d0f24
parent10aa09d39c1b70ce2a88f59601f1f8dbc96ed817
oe-selftest: Error if known problem variables are set

Setting SANITY_TESTED_DISTROS or PRSERV_HOST are known to break oe-selftest.
Rather than have the user experience this, refuse to execute unless the
environment is correct.

Ideally we'd try and unset these but that is a more invasive change and this
at least makes people aware of the problem.

[YOCTO #11292]

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