Bug 1090931 - Update logcat-filtering regex in reftest analyzer. r=dbaron

The logcat format used by tbpl jobs in some (maybe all) cases now has a
timestamp and other decorations at the beginning of the line. The regex that
was previously added to filter out reftest failure lines duplicated in logcat
no longer matches the lines correctly; this makes the regex more generic so that
the filtering works again.
This commit is contained in:
Kartikaya Gupta 2014-10-29 21:09:10 -04:00
parent ef158098f8
commit 128391bd91

View File

@ -220,7 +220,7 @@ function process_log(contents) {
for (var j in lines) {
var line = lines[j];
// Ignore duplicated output in logcat.
if (line.match(/^I\/Gecko/))
if (line.match(/I\/Gecko.*?REFTEST/))
continue;
var match = line.match(/^.*?REFTEST (.*)$/);
if (!match)