mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 877824 - log proper TEST-START and TEST-END points for reftests; r=dbaron
This commit is contained in:
parent
a52e529c14
commit
3cd577bf25
@ -1146,6 +1146,7 @@ function StartCurrentTest()
|
||||
DoneTests();
|
||||
}
|
||||
else {
|
||||
gDumpLog("REFTEST TEST-START | " + gURLs[0].prettyPath + "\n");
|
||||
var currentTest = gTotalTests - gURLs.length;
|
||||
gContainingWindow.document.title = "reftest: " + currentTest + " / " + gTotalTests +
|
||||
" (" + Math.floor(100 * (currentTest / gTotalTests)) + "%)";
|
||||
@ -1243,7 +1244,7 @@ function StartCurrentURI(aState)
|
||||
gContainingWindow.setTimeout(RecordResult, 0);
|
||||
} else {
|
||||
var currentTest = gTotalTests - gURLs.length;
|
||||
gDumpLog("REFTEST TEST-START | " + gCurrentURL + " | " + currentTest + " / " + gTotalTests +
|
||||
gDumpLog("REFTEST TEST-LOAD | " + gCurrentURL + " | " + currentTest + " / " + gTotalTests +
|
||||
" (" + Math.floor(100 * (currentTest / gTotalTests)) + "%)\n");
|
||||
LogInfo("START " + gCurrentURL);
|
||||
var type = gURLs[0].type
|
||||
@ -1713,6 +1714,8 @@ function DoAssertionCheck(numAsserts)
|
||||
}
|
||||
}
|
||||
|
||||
gDumpLog("REFTEST TEST-END | " + gURLs[0].prettyPath + "\n");
|
||||
|
||||
// And start the next test.
|
||||
gURLs.shift();
|
||||
StartCurrentTest();
|
||||
|
Loading…
Reference in New Issue
Block a user