]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oe-selftest: replace assertTrue(False, ...) with fail(...)
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 5 Aug 2015 13:37:13 +0000 (14:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Aug 2015 22:45:20 +0000 (23:45 +0100)
commit173a5896fff57136e1f15e15f90961416aadde94
tree7a0e450e93f2f8c235ec53d09462ec9b306a8051
parent940b9d1736dbe63f80b9d46b2b9b1cea77ed35f1
oe-selftest: replace assertTrue(False, ...) with fail(...)

I'd somehow missed the existence of fail() when I wrote these. It's
preferable here so you don't get the somewhat useless "false is not
true" message in the case of failure.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/devtool.py
meta/lib/oeqa/selftest/recipetool.py