Bug 638219 - Followup to fix the output for test failures on tbpl.

This commit is contained in:
Ms2ger 2013-03-02 10:50:50 +01:00
parent e12fa04199
commit ba169c4751

View File

@ -496,7 +496,7 @@ def process_test_results(results, num_tests, options):
if ok: if ok:
print_tinderbox("TEST-PASS", res.test); print_tinderbox("TEST-PASS", res.test);
else: else:
lines = [ _ for _ in out.split('\n') + err.split('\n') lines = [ _ for _ in res.out.split('\n') + res.err.split('\n')
if _ != '' ] if _ != '' ]
if len(lines) >= 1: if len(lines) >= 1:
msg = lines[-1] msg = lines[-1]