Bug 705184 - Count unexpected reftest crash dump files as test failures. r=dbaron

This commit is contained in:
Cameron McCormack 2011-12-05 14:06:42 +11:00
parent 4c13ef5d13
commit 3fe542e338

View File

@ -1554,6 +1554,7 @@ function FindUnexpectedCrashDumpFiles()
let path = String(file.path);
if (path.match(/\.(dmp|extra)$/) && !gUnexpectedCrashDumpFiles[path]) {
if (!foundCrashDumpFile) {
++gTestResults.UnexpectedFail;
foundCrashDumpFile = true;
gDumpLog("REFTEST TEST-UNEXPECTED-FAIL | " + gCurrentURL +
" | This test left crash dumps behind, but we weren't expecting it to!\n");