Skip to content

Commit 5c40e7b

Browse files
committed
test: allows test_runner command line to receive parameters for each test
1 parent 2607c38 commit 5c40e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/test_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def main():
272272
if tests:
273273
# Individual tests have been specified. Run specified tests that exist
274274
# in the ALL_SCRIPTS list. Accept the name with or without .py extension.
275-
tests = [re.sub("\.py$", "", test) + ".py" for test in tests]
275+
tests = [test + ".py" if ".py" not in test else test for test in tests]
276276
for test in tests:
277277
if test in ALL_SCRIPTS:
278278
test_list.append(test)

0 commit comments

Comments
 (0)