diff options
author | marcoagner <marco@agner.io> | 2018-11-23 17:02:24 +0000 |
---|---|---|
committer | marcoagner <marco@agner.io> | 2018-11-23 17:02:24 +0000 |
commit | 5c40e7b91a642d93d49f2b81ff9550a9138f18ac (patch) | |
tree | 90aadcc12cdcca357538016f6598e05195d9bce3 /test/functional | |
parent | 2607c38fc5170409dd13f3061ba5e5fa2de6438d (diff) | |
download | bitcoin-5c40e7b91a642d93d49f2b81ff9550a9138f18ac.tar.xz |
test: allows test_runner command line to receive parameters for each test
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/test_runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index da55a3a156..0c4cdac528 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -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) |