tests: Fix parallel-vm.py test case name parsing
The 'params' argument was not used at all. Use it as an alternative means for setting the list of test cases to execute. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
4f76eb81e9
commit
de52a2e259
1 changed files with 13 additions and 9 deletions
|
@ -357,8 +357,12 @@ def main():
|
||||||
codecov = False
|
codecov = False
|
||||||
|
|
||||||
first_run_failures = []
|
first_run_failures = []
|
||||||
|
if args.params:
|
||||||
|
tests = args.params
|
||||||
|
else:
|
||||||
tests = []
|
tests = []
|
||||||
cmd = [ os.path.join(os.path.dirname(scriptsdir), 'run-tests.py'), '-L' ]
|
cmd = [ os.path.join(os.path.dirname(scriptsdir), 'run-tests.py'),
|
||||||
|
'-L' ]
|
||||||
if args.testmodules:
|
if args.testmodules:
|
||||||
cmd += [ "-f" ]
|
cmd += [ "-f" ]
|
||||||
cmd += args.testmodules
|
cmd += args.testmodules
|
||||||
|
|
Loading…
Add table
Reference in a new issue