sanitycheck: set selected_plaforms when loading tests from file
Missed the case we use in CI where we pre-generate the testcase list and load it, this was resulting in empty test reports in CI. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
7a7c420ca8
commit
b5973930b1
1 changed files with 1 additions and 0 deletions
|
@ -931,6 +931,7 @@ def main():
|
||||||
suite.selected_platforms = set(p.platform.name for p in suite.instances.values())
|
suite.selected_platforms = set(p.platform.name for p in suite.instances.values())
|
||||||
elif options.load_tests:
|
elif options.load_tests:
|
||||||
suite.load_from_file(options.load_tests)
|
suite.load_from_file(options.load_tests)
|
||||||
|
suite.selected_platforms = set(p.platform.name for p in suite.instances.values())
|
||||||
elif options.test_only:
|
elif options.test_only:
|
||||||
suite.load_from_file(last_run, filter_status=['skipped'])
|
suite.load_from_file(last_run, filter_status=['skipped'])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue