From 50e53e27d5e589c455f9dab927ceb9a8502b64fc Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Mon, 1 Jun 2015 20:18:21 -0700 Subject: [PATCH] Fix bug with finite runs per test --- tools/run_tests/run_tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index bd5959cd000..b1cde270448 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -346,6 +346,7 @@ def runs_per_test_type(arg_str): try: n = int(arg_str) if n <= 0: raise ValueError + return n except: msg = "'{}' isn't a positive integer or 'inf'".format(arg_str) raise argparse.ArgumentTypeError(msg)