diff options
author | Ross Burton <ross.burton@intel.com> | 2015-12-23 13:45:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-28 09:24:54 +0000 |
commit | dab1b0ad42f08eb547732e854ba28a4cf0a23107 (patch) | |
tree | 11fa8a3dbb738cd905e3abb5ca38e81b4071d57d /scripts/devtool | |
parent | 726a82daf8dc23b41fd147035578c57410889c90 (diff) | |
download | openembedded-core-dab1b0ad42f08eb547732e854ba28a4cf0a23107.tar.gz openembedded-core-dab1b0ad42f08eb547732e854ba28a4cf0a23107.tar.bz2 openembedded-core-dab1b0ad42f08eb547732e854ba28a4cf0a23107.zip |
oeqa/selftest: support sets in devtool comparisons
The devtool and recipetool tests do literal string comparisons, but for some
fields the ordering could be irrelevant and potentially non-deterministic. For
example, the recipetool_create_simple test started failing with:
AssertionError: 'GPLv2 Unknown' != 'Unknown GPLv2' : values for LICENSE do not match
The ordering of the LICENSE field isn't relevant. So, if the expected value is
a set(), split the string into a set too and compare those.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/devtool')
0 files changed, 0 insertions, 0 deletions