aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSamuel Dobson <dobsonsa68@gmail.com>2021-09-26 13:58:19 +1300
committerSamuel Dobson <dobsonsa68@gmail.com>2021-09-26 13:58:19 +1300
commitb8909b074603a05a1a255461ca78d8a013dd3044 (patch)
tree88bc25356ed191c0c13f613e2e3c90ce25e9d73a /test
parent16ccb3a1cd9125eb24a5b45a98099ff98660767a (diff)
Run functional tests with all possible flags
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/test_runner.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py
index 3792d751de..b463f05869 100755
--- a/test/functional/test_runner.py
+++ b/test/functional/test_runner.py
@@ -401,8 +401,9 @@ def main():
for test in tests:
script = test.split("/")[-1]
script = script + ".py" if ".py" not in script else script
- if script in ALL_SCRIPTS:
- test_list.append(script)
+ matching_scripts = [s for s in ALL_SCRIPTS if s.startswith(script)]
+ if matching_scripts:
+ test_list.extend(matching_scripts)
else:
print("{}WARNING!{} Test '{}' not found in full test list.".format(BOLD[1], BOLD[0], test))
elif args.extended: