mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 864686: Make reftest harness print test URL when there is one. r=heycam
I think the case in this bug is the RecvException case.
This commit is contained in:
parent
034354edf3
commit
6dd6e81635
@ -1504,7 +1504,7 @@ function RecordResult(testRunTime, errorMsg, scriptResults)
|
||||
gCurrentCanvas = gURICanvases[gCurrentURL];
|
||||
}
|
||||
if (gCurrentCanvas == null) {
|
||||
gDumpLog("REFTEST TEST-UNEXPECTED-FAIL | | program error managing snapshots\n");
|
||||
gDumpLog("REFTEST TEST-UNEXPECTED-FAIL | " + gCurrentURL + " | program error managing snapshots\n");
|
||||
++gTestResults.Exception;
|
||||
}
|
||||
if (gState == 1) {
|
||||
@ -1817,7 +1817,7 @@ function RecvContentReady()
|
||||
|
||||
function RecvException(what)
|
||||
{
|
||||
gDumpLog("REFTEST TEST-UNEXPECTED-FAIL | | "+ what +"\n");
|
||||
gDumpLog("REFTEST TEST-UNEXPECTED-FAIL | " + gCurrentURL + " | " + what + "\n");
|
||||
++gTestResults.Exception;
|
||||
}
|
||||
|
||||
@ -1840,7 +1840,7 @@ function RecvLog(type, msg)
|
||||
} else if (type == "warning") {
|
||||
LogWarning(msg);
|
||||
} else {
|
||||
gDumpLog("REFTEST TEST-UNEXPECTED-FAIL | | unknown log type "+ type +"\n");
|
||||
gDumpLog("REFTEST TEST-UNEXPECTED-FAIL | " + gCurrentURL + " | unknown log type " + type + "\n");
|
||||
++gTestResults.Exception;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user