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()