Commit 78efbb7c authored by Jorn Bruggeman's avatar Jorn Bruggeman
Browse files

support --repeat for non-performance tests

parent a8e72204
......@@ -90,7 +90,7 @@ try:
exepath = os.path.join(build_dir, exename)
if os.path.isfile(exepath):
host2exe[host] = exepath
tests[host] = run('%s_test' % host, [host2exe[host]], verbose=args.verbose)
tests[host] = run('%s_test' % host, [host2exe[host], '-n', '%i' % ('1' if args.performance else args.repeat)], verbose=args.verbose)
if args.performance:
print('Measuring runtime')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment