From 0c2364bd625b64beb41efe1211c5a98c3b52280c Mon Sep 17 00:00:00 2001 From: TapTap Date: Sun, 5 Jul 2026 18:11:23 +0200 Subject: [PATCH] test: clear dest dir at start of run --- test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test.py b/test.py index c48fd39..408c2d4 100755 --- a/test.py +++ b/test.py @@ -395,6 +395,8 @@ def main(): sys.exit(1) generate_test_files(args.source_dir) + if os.path.exists(args.dest_dir): + shutil.rmtree(args.dest_dir) os.makedirs(args.dest_dir, exist_ok=True) profiles_to_run = []