From f67d4de3976edd5ce47c4b49ba5bc77e96fa1f89 Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Wed, 14 Jun 2017 12:10:10 -0400 Subject: [PATCH] Bug 1372922 - Don't log suite_start a second time in reftest if recovering from a crash, r=jmaher MozReview-Commit-ID: 45lYTfrCyxN --HG-- extra : rebase_source : 1398191fdff646133bb5064025c0f97192ef3071 --- layout/tools/reftest/reftest.jsm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layout/tools/reftest/reftest.jsm b/layout/tools/reftest/reftest.jsm index 4704aaab6285..80faf3ad6a28 100644 --- a/layout/tools/reftest/reftest.jsm +++ b/layout/tools/reftest/reftest.jsm @@ -532,7 +532,9 @@ function StartTests() tIDs.push(gURLs[i].identifier); } - logger.suiteStart(tIDs, {"skipped": gURLs.length - tURLs.length}); + if (gStartAfter === undefined) { + logger.suiteStart(tIDs, {"skipped": gURLs.length - tURLs.length}); + } if (gTotalChunks > 0 && gThisChunk > 0) { // Calculate start and end indices of this chunk if tURLs array were