diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-06-01 13:02:59 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-04 15:15:00 +0100 |
commit | 4afe2567b7e93a7be00434304b268919f2bf4220 (patch) | |
tree | a964e0c7d008ba7be0d2658f7af559c01bee75ed /meta/classes/toolchain-scripts-base.bbclass | |
parent | 79b6e96682fdd929fc2a154618b5363f626ec108 (diff) | |
download | poky-4afe2567b7e93a7be00434304b268919f2bf4220.tar.gz |
testimage.bbclass: fix behavior of empty TEST_SUITES
The current behaviour of TEST_SUITES is very confusing.
setting: TEST_SUITES = ""
result: Execute all test cases.
setting: TEST_SUITES = "some_case_not_exist"
result: Error out with 'Empty test suite' message.
The expected behaviour of TEST_SUITES should be:
1. when 'auto' is in it, execute as many test cases as possible
2. when no valid test case is specified, error out and give user message
The first one is implemented by a previous patch.
The second one is fixed in this patch.
Also add debug message to show test cases to be executed. This is
for easier debugging.
(From OE-Core rev: 909568821fbad8a6a7034b10a2dc349a210fdfc6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toolchain-scripts-base.bbclass')
0 files changed, 0 insertions, 0 deletions