From a90e510424ad20bac3e902570fa0663c61f62137 Mon Sep 17 00:00:00 2001 From: TapTap Date: Sun, 5 Jul 2026 16:48:45 +0200 Subject: [PATCH] bench: --wan runs only WAN, not also Unlimited --- test.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/test.py b/test.py index 87d590b..33dbce3 100755 --- a/test.py +++ b/test.py @@ -359,12 +359,17 @@ def main(): os.makedirs(args.dest_dir, exist_ok=True) profiles_to_run = [] - if not args.no_unlimited: - profiles_to_run.append("Unlimited") - if not args.no_lan: - profiles_to_run.append("LAN") if args.wan: - profiles_to_run.append("WAN") + if not args.no_unlimited: + profiles_to_run.append("WAN") + else: + print("--wan and --no-unlimited are mutually exclusive") + sys.exit(1) + else: + if not args.no_unlimited: + profiles_to_run.append("Unlimited") + if not args.no_lan: + profiles_to_run.append("LAN") try: all_results = []