test: allows test_runner command line to receive parameters for each test

pull/643/head
marcoagner 6 years ago
parent 2607c38fc5
commit 5c40e7b91a
No known key found for this signature in database
GPG Key ID: 0DC77FC61ED3ECC4

@ -272,7 +272,7 @@ def main():
if tests:
# Individual tests have been specified. Run specified tests that exist
# 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:
if test in ALL_SCRIPTS:
test_list.append(test)

Loading…
Cancel
Save