Open Bug 476642 Opened 15 years ago Updated 2 years ago

want a semantically better alternative to fails-if

Categories

(Testing :: Reftest, defect)

defect

Tracking

(Not tracked)

People

(Reporter: ted, Unassigned)

Details

In bug 420084 comment 10, dbaron notes that he'd like a better alternative to using fails-if in the reftests I added that sanity check the xulRuntime.OS field. We'd like to be able to verify that these tests pass on the intended platform, and fail on the other platforms, but they shouldn't have to add to the "known fail" count. Using skip-if isn't sufficient, as they should be run and fail on the other platforms.

I haven't given it much thought, but perhaps something like "ignore-if" or "ignore-fail-if"?
I think what I really want is something that says the success condition is == in some cases and != in others.
invert-success-if ?
pass-iff
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.