From ccaae03fd36c4ccdbc8a69f25b69eb5b6c75f4f6 Mon Sep 17 00:00:00 2001 From: William Lachance Date: Thu, 5 May 2016 16:05:07 -0400 Subject: [PATCH] Bug 1270617 - Fix suite summary lines in treeherder r=ahal MozReview-Commit-ID: DBKSoUFM5uw --HG-- extra : rebase_source : a3fbcff50ffdb91448af2eae3baec78c0f716dd3 --- testing/mozharness/mozharness/mozilla/structuredlog.py | 2 +- testing/mozharness/mozharness/mozilla/testing/unittest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/mozharness/mozharness/mozilla/structuredlog.py b/testing/mozharness/mozharness/mozilla/structuredlog.py index 8496c29b4de9..9e717a12eb9d 100644 --- a/testing/mozharness/mozharness/mozilla/structuredlog.py +++ b/testing/mozharness/mozharness/mozilla/structuredlog.py @@ -152,7 +152,7 @@ class StructuredOutputParser(OutputParser): fail_text = '0' text_summary = "%s/%s/%s" % (expected_count, fail_text, expected_failures) - self.info("TinderboxPrint: %s: %s\n" % (suite_name, text_summary)) + self.info("TinderboxPrint: %s
%s\n" % (suite_name, text_summary)) def append_tinderboxprint_line(self, suite_name): summary = self.handler.summarize() diff --git a/testing/mozharness/mozharness/mozilla/testing/unittest.py b/testing/mozharness/mozharness/mozilla/testing/unittest.py index 7e80c6880359..bfa4974d2800 100755 --- a/testing/mozharness/mozharness/mozilla/testing/unittest.py +++ b/testing/mozharness/mozharness/mozilla/testing/unittest.py @@ -87,7 +87,7 @@ class TestSummaryOutputParserHelper(OutputParser): failed = emphasize_fail_text % str(self.failed) self.tsummary = "%d/%s/%d" % (self.passed, failed, self.todo) - self.info("TinderboxPrint: %s: %s\n" % (suite_name, self.tsummary)) + self.info("TinderboxPrint: %s
%s\n" % (suite_name, self.tsummary)) def append_tinderboxprint_line(self, suite_name): self.print_summary(suite_name)