From 7dd6b181988fe9942663e5ccbe289889120ae4f3 Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Tue, 23 Jul 2024 15:02:30 +0200 Subject: [PATCH] Revert "Allow unknown args to be passed to generate-launch-args" This reverts commit cd666de0fa4a3153ff34d925fd6bbbeff85ff4ac. It actually does not work for some cases, so let's rather remove the args before using the script. --- scripts/generate-launch-args.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/generate-launch-args.py b/scripts/generate-launch-args.py index 0b132020..365435a4 100755 --- a/scripts/generate-launch-args.py +++ b/scripts/generate-launch-args.py @@ -88,8 +88,7 @@ def parse_args(): help="do not skip any tests based on os variant or branch") _parser.add_argument("--skip-file", type=str, metavar="PATH", help="file containing data about disabled tests") - args, _ = _parser.parse_known_args() - return args + return _parser.parse_args() if __name__ == "__main__":