reftest harness should trap missing file exceptions and continue

NEW
Unassigned

Status

defect
10 years ago
9 years ago

People

(Reporter: zwol, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Reftests currently do not deal well with a missing file:

If the file in a "load" test, or the first file in a "!=" or "==" test, is
missing, you get TEST-UNEXPECTED-FAIL || EXCEPTION: ... in the log and the test run is abandoned at that point.  It should detect NS_ERROR_FILE_NOT_FOUND and go on to the next test.

Worse, if the *second* file (the reference) in a != or == test is missing, the test *hangs* with the reftest window showing the "file not found" screen.  I'm not sure why there's a difference there.
It should definitely *always* be a test failure (even if marked "fails"), though.
Agreed.
Version: unspecified → Trunk
Duplicate of this bug: 613534
Duplicate of this bug: 637868
You need to log in before you can comment on or make changes to this bug.