Skip to content
Snippets Groups Projects
Commit e2de36eb authored by Jan Hák's avatar Jan Hák Committed by Your Name
Browse files

tests-extra: fixes a bug that caused the application to crash on invalid exclude parameter

parent d78290cc
Branches
Tags
No related merge requests found
Pipeline #101338 failed with stages
in 1 hour, 41 minutes, and 31 seconds
......@@ -116,7 +116,7 @@ def parse_args(cmd_args):
# Filter out excluded tests.
for test, cases in excluded.items():
if cases:
if included[test]:
if test in included:
for case in cases:
included[test].remove(case)
else:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment