From c858eea2374cfe14d7db38761bc0eefdf75403f9 Mon Sep 17 00:00:00 2001 From: Steve Fink Date: Thu, 24 May 2012 22:06:48 -0700 Subject: [PATCH] Bug 758108 - Display test failures immediately. r=terrence --HG-- extra : rebase_source : 193d233c56c684a63b3f93daf5903f7aef4ccfa2 --- js/src/tests/lib/results.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/src/tests/lib/results.py b/js/src/tests/lib/results.py index 1c7d46c00aab..ded75952c5de 100644 --- a/js/src/tests/lib/results.py +++ b/js/src/tests/lib/results.py @@ -131,6 +131,14 @@ class ResultsSink: self.print_tinderbox_result(self.LABELS[ (result.result, result.test.expect, result.test.random)][0], result.test.path, time=output.dt) + return + + if dev_label: + if self.pb: + self.fp.write("\n") + def singular(label): + return "FIXED" if label == "FIXES" else label[:-1] + print >> self.fp, "%s - %s" % (singular(dev_label), output.test.path) if self.pb: self.pb.label = '[%4d|%4d|%4d]'%tuple(self.counts)