Some text format fixes.

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

@ -184,16 +184,20 @@ def run_tests(options, datafilename):
for i, test in enumerate(filtered_tests):
if test.suite[0] == '':
visible_name = test.name
else:
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:
drain_futures(futures)
futures = []
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:
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)
print('\nFull log written to %s.' % logfilename)

Loading…
Cancel
Save