Skip to content

Commit b8909b0

Browse files
committed
Run functional tests with all possible flags
1 parent 16ccb3a commit b8909b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/functional/test_runner.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,9 @@ def main():
401401
for test in tests:
402402
script = test.split("/")[-1]
403403
script = script + ".py" if ".py" not in script else script
404-
if script in ALL_SCRIPTS:
405-
test_list.append(script)
404+
matching_scripts = [s for s in ALL_SCRIPTS if s.startswith(script)]
405+
if matching_scripts:
406+
test_list.extend(matching_scripts)
406407
else:
407408
print("{}WARNING!{} Test '{}' not found in full test list.".format(BOLD[1], BOLD[0], test))
408409
elif args.extended:

0 commit comments

Comments
 (0)