Some text format fixes.

pull/327/head
Jussi Pakkanen 9 years ago
parent b3d61beb2d
commit 8bb2586ae4
  1. 10
      meson_test.py

@ -185,15 +185,19 @@ def run_tests(options, datafilename):
if test.suite[0] == '': if test.suite[0] == '':
visible_name = test.name visible_name = test.name
else: else:
visible_name = test.suite[0] + ' / ' + test.name if options.suite is not None:
visible_name = options.suite + ' / ' + test.name
else:
visible_name = test.suite[0] + ' / ' + test.name
if not test.is_parallel: if not test.is_parallel:
drain_futures(futures) drain_futures(futures)
futures = [] futures = []
res = run_single_test(wrap, test) res = run_single_test(wrap, test)
print_stats(numlen, tests, visible_name, res, i, logfile, jsonlogfile) print_stats(numlen, filtered_tests, visible_name, res, i, logfile, jsonlogfile)
else: else:
f = executor.submit(run_single_test, wrap, test) f = executor.submit(run_single_test, wrap, test)
futures.append((f, numlen, tests, visible_name, i, logfile, jsonlogfile)) futures.append((f, numlen, filtered_tests, visible_name, i, logfile, jsonlogfile))
drain_futures(futures) drain_futures(futures)
print('\nFull log written to %s.' % logfilename) print('\nFull log written to %s.' % logfilename)

Loading…
Cancel
Save