sanitycheck: fix --sub-test option
This option was not working, make it work again using the new function for managing test inventory. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
19ca7833e5
commit
d11fd78591
1 changed files with 5 additions and 0 deletions
|
@ -3808,6 +3808,11 @@ def main():
|
|||
return
|
||||
|
||||
if options.sub_test:
|
||||
for st in options.sub_test:
|
||||
subtests = suite.get_testcase(st)
|
||||
for sti in subtests:
|
||||
run_individual_tests.append(sti.name)
|
||||
|
||||
if run_individual_tests:
|
||||
info("Running the following tests:")
|
||||
for test in run_individual_tests:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue