From: Jan Hák Date: Fri, 1 Jul 2022 11:29:35 +0000 (+0200) Subject: tests-extra: fixes a bug that caused the application to crash on invalid exclude... X-Git-Tag: v3.3.dev~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2de36ebad24b18ccd20847fc06e63fd9eeb5182;p=thirdparty%2Fknot-dns.git tests-extra: fixes a bug that caused the application to crash on invalid exclude parameter --- diff --git a/tests-extra/runtests.py b/tests-extra/runtests.py index d2d6cfaca7..9ac3b27ac6 100755 --- a/tests-extra/runtests.py +++ b/tests-extra/runtests.py @@ -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: