Commit e158468d authored by Jorn Bruggeman's avatar Jorn Bruggeman
Browse files

fixed run_unit_tests.py in combination with --performance

parent 8c155b73
...@@ -90,7 +90,7 @@ try: ...@@ -90,7 +90,7 @@ try:
exepath = os.path.join(build_dir, exename) exepath = os.path.join(build_dir, exename)
if os.path.isfile(exepath): if os.path.isfile(exepath):
host2exe[host] = exepath host2exe[host] = exepath
tests[host] = run('%s_test' % host, [host2exe[host], '-n', '%i' % ('1' if args.performance else args.repeat)], 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: if args.performance:
print('Measuring runtime') 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