print output from failing builds in regression tests

This commit is contained in:
Arvid Norberg 2014-03-27 06:24:18 +00:00
parent 2c727a1448
commit d6bbb5be9e
1 changed files with 4 additions and 2 deletions

View File

@ -144,8 +144,10 @@ def run_tests(toolset, tests, features, options, test_dir, time_limit):
r = { 'status': p.returncode, 'output': output, 'command': command }
results[t + '|' + features] = r
if p.returncode == 0: sys.stdout.write('.')
else: sys.stdout.write('X')
if p.returncode == 0:
sys.stdout.write('.')
else:
sys.stdout.write(output)
sys.stdout.flush()
except Exception, e: