generic-poky/meta/lib/oeqa
Ross Burton 09705a4af0 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.

(From OE-Core rev: dab1b0ad42f08eb547732e854ba28a4cf0a23107)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-28 09:25:20 +00:00
..
controllers meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
runtime oeqa/systemd: get runtest target boot time and log 2015-12-12 23:42:51 +00:00
sdk oeqa/sdk/gcc: Fix makefile test 2015-09-28 12:00:31 +01:00
selftest oeqa/selftest: support sets in devtool comparisons 2015-12-28 09:25:20 +00:00
utils oeqa/sshcontrol: don't source profile 2015-12-01 21:32:05 +00:00
__init__.py lib/oeqa/oetest.py: base module for all runtime unittests 2013-07-09 10:53:43 +01:00
oetest.py oetest: Add tearDownLocal class 2015-10-19 17:57:59 +01:00
runexported.py oeqa/runexported: Replaced optionparser with argparse. 2015-10-01 17:54:56 +01:00
targetcontrol.py oeqa: Test failure/cleanup improvements 2015-09-06 15:26:18 +01:00