Bug 834842 - Support mach timestamp in reftest-analyzer. r=bgirard
authorDavid Baron <dbaron@dbaron.org>
Sat, 25 Jan 2014 10:03:54 +0000
changeset 181227 8173b593ab5be48842cd07f195ed6ffb16357b66
parent 181226 f4b552faecc8ecd0c93d99c1b8890df32fe4948d
child 181228 7676f94f42e77c6772b201add3131591835dd0cd
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgirard
bugs834842
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 834842 - Support mach timestamp in reftest-analyzer. r=bgirard
layout/tools/reftest/reftest-analyzer.xhtml
--- a/layout/tools/reftest/reftest-analyzer.xhtml
+++ b/layout/tools/reftest/reftest-analyzer.xhtml
@@ -203,17 +203,17 @@ function log_pasted() {
 
 var gTestItems;
 
 function process_log(contents) {
   var lines = contents.split(/[\r\n]+/);
   gTestItems = [];
   for (var j in lines) {
     var line = lines[j];
-    var match = line.match(/^(?:NEXT ERROR |\d\d:\d\d:\d\d +INFO - +)*REFTEST (.*)$/);
+    var match = line.match(/^.*?REFTEST (.*)$/);
     if (!match)
       continue;
     line = match[1];
     match = line.match(/^(TEST-PASS|TEST-UNEXPECTED-PASS|TEST-KNOWN-FAIL|TEST-UNEXPECTED-FAIL|TEST-DEBUG-INFO)(\(EXPECTED RANDOM\)|) \| ([^\|]+) \|(.*)/);
     if (match) {
       var state = match[1];
       var random = match[2];
       var url = match[3];