]> code.ossystems Code Review - openembedded-core.git/commit
oe-selftest: devtool: fix error message in _test_recipe_contents()
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 31 Oct 2016 03:59:48 +0000 (16:59 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Nov 2016 11:04:17 +0000 (11:04 +0000)
commit0dafcb158003fb13f82c266f607d9967fca321db
treef0c4caf7cbfecea5c48794d387dcecd929e2e08c
parentecac6aee8cf3313350b58c21012bcd67cfb915e4
oe-selftest: devtool: fix error message in _test_recipe_contents()

If a variable is being set in the recipe when we've explicitly passed
None as the value to _test_recipe_contents() indicating that it
shouldn't be set at all, then we should be printing out the variable
name in the assertion message but it seems like I forgot to do a
substitution. Also include the value for informational purposes.

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