From 0481c5091b80505633d47839161d6aee48cb8675 Mon Sep 17 00:00:00 2001 From: Foo Date: Sun, 4 Feb 2024 21:32:15 +0100 Subject: [PATCH] impl --- script/RunTests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/RunTests.py b/script/RunTests.py index d86083c..08335e1 100644 --- a/script/RunTests.py +++ b/script/RunTests.py @@ -26,15 +26,15 @@ def main(): parser = argparse.ArgumentParser() parser.add_argument('--folder', default=None) parser.add_argument('--list', action='store_true', default=False) - parser.add_argument('--run', action='store_true', default=False) args = parser.parse_args() map = TestMap(args.folder) if args.list: print(map) - elif args.run: - map.run() + return + + map.run() if __name__ == '__main__': main()