Closed Bug 379823 Opened 17 years ago Closed 17 years ago

Allow conditional skipping of reftests (reporting them as failures)

Categories

(Testing :: Reftest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
In bug 379600 and bug 357637 we have reftests that crash the linux test machine qm-rhel02 and as a result we can't enable these tests. There's no good reason these tests can't be run on the platforms on which they don't crash though. We just need a mechanism to allow that.
Attachment #263857 - Flags: superreview?(dbaron)
Attachment #263857 - Flags: review?(dbaron)
Comment on attachment 263857 [details] [diff] [review]
patch

r+sr=dbaron; I think you may as well add skip for symmetry.

Is there an easy way we could make a "KNOWN FAIL" message be printed for skipped tests?  If so, maybe a followup patch?
Attachment #263857 - Flags: superreview?(dbaron)
Attachment #263857 - Flags: superreview+
Attachment #263857 - Flags: review?(dbaron)
Attachment #263857 - Flags: review+
Yeah, we should report the failure. Good idea. Also, if we're going to report skipped tests as failures then it makes sense to add a 'skip' command. Here's a patch do add 'skip' to 'skip-if' and add error reporting.
Attachment #263857 - Attachment is obsolete: true
Attachment #263911 - Flags: superreview?(dbaron)
Attachment #263911 - Flags: review?(dbaron)
Comment on attachment 263911 [details] [diff] [review]
patch with the addition of 'skip' and error reporting

r+sr=dbaron
Attachment #263911 - Flags: superreview?(dbaron)
Attachment #263911 - Flags: superreview+
Attachment #263911 - Flags: review?(dbaron)
Attachment #263911 - Flags: review+
checked in
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Summary: Allow conditional skipping of reftests → Allow conditional skipping of reftests (reporting them as failures)
Component: Testing → Reftest
Product: Core → Testing
Version: Trunk → unspecified
QA Contact: testing → reftest
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: