diff options
author | Ross Burton <ross.burton@intel.com> | 2017-08-04 16:30:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-13 09:27:37 +0100 |
commit | 582097c103a495807e10b3c5719aad31803decca (patch) | |
tree | 38d41f026573a889efa87c57b7aca7be02fc4b3f /meta/lib/oeqa/selftest/context.py | |
parent | 476edb2b472b5dc35bf00b02a629db2ada512df3 (diff) | |
download | poky-582097c103a495807e10b3c5719aad31803decca.tar.gz |
oeqa/runtime_test: use subtests in test_postinst_rootfs_and_boot
As this test has two nested loops and actually runs six times, use
UnitTest.subTest() so we can tell which instance is failing, and to run all
variations instead of failing on the first one.
Also set PACKAGE_CLASSES to just the type we need to reduce the verboseness of
the output, and consolidate the feature generation to be neater.
(From OE-Core rev: c7ef6000b11f1b1cd27c9bc408eea9f76bb94a3b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/context.py')
0 files changed, 0 insertions, 0 deletions