Fix bug with finite runs per test

pull/1865/head
Craig Tiller 10 years ago
parent 795b242251
commit 50e53e27d5
  1. 1
      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)

Loading…
Cancel
Save