test: allows test_runner command line to receive parameters for each test
This commit is contained in:
parent
2607c38fc5
commit
5c40e7b91a
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ def main():
|
||||||
if tests:
|
if tests:
|
||||||
# Individual tests have been specified. Run specified tests that exist
|
# Individual tests have been specified. Run specified tests that exist
|
||||||
# in the ALL_SCRIPTS list. Accept the name with or without .py extension.
|
# in the ALL_SCRIPTS list. Accept the name with or without .py extension.
|
||||||
tests = [re.sub("\.py$", "", test) + ".py" for test in tests]
|
tests = [test + ".py" if ".py" not in test else test for test in tests]
|
||||||
for test in tests:
|
for test in tests:
|
||||||
if test in ALL_SCRIPTS:
|
if test in ALL_SCRIPTS:
|
||||||
test_list.append(test)
|
test_list.append(test)
|
||||||
|
|
Loading…
Reference in a new issue