From 4fea685b6325e89a0a23d8825341c8836d97ce39 Mon Sep 17 00:00:00 2001 From: Bill McCloskey Date: Fri, 8 Nov 2013 16:05:33 -0800 Subject: [PATCH] Bug 936681 - Correctly print stderr for jit-test failures (r=terrence) --- js/src/tests/lib/jittests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/tests/lib/jittests.py b/js/src/tests/lib/jittests.py index 1bb2890bff4c..fd10c5c5c768 100755 --- a/js/src/tests/lib/jittests.py +++ b/js/src/tests/lib/jittests.py @@ -390,9 +390,9 @@ def print_tinderbox(ok, res): print("INFO exit-status : {}".format(res.rc)) print("INFO timed-out : {}".format(res.timed_out)) for line in res.out.split('\n'): - print("INFO stdout > " + line) - for line in res.out.split('\n'): - print("INFO stderr 2> " + line) + print("INFO stdout > " + line.strip()) + for line in res.err.split('\n'): + print("INFO stderr 2> " + line.strip()) def wrap_parallel_run_test(test, prefix, resultQueue, options): # Ignore SIGINT in the child