]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest/sstatetests: prettier output for allarch test
authorRoss Burton <ross.burton@intel.com>
Mon, 9 Nov 2015 18:07:25 +0000 (18:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Nov 2015 15:55:25 +0000 (15:55 +0000)
commitb612628081b81b50965ae9454df4b2747c6997b2
treeddcc992f017c9042e633f5db8c8d8ce360b2abe6
parent6a462fbb11db2085e4b6763a601c7fc4ac0025c8
oeqa/selftest/sstatetests: prettier output for allarch test

Instead of creating two lists of full paths and comparing them which in failure
produces a list of every stamp file (so all tasks, twice), reduce the filename
down to a recipe/task->hash dictionary and compare those, meaning unittest
shows the differences in the dictionaries.

In the future get_files() should be generalised so all tests in this class can
use it, and find a pair of hashes that don't match and run diffsigs on them.

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