Changes between Version 18 and Version 19 of TestExpectations
- Timestamp:
- Sep 24, 2012, 3:05:57 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TestExpectations
v18 v19 47 47 * If no modifiers are specified, the test applies to all of the configurations applicable to that file 48 48 * Modifiers can be one or more of `Mac`, `SnowLeopard`, `Lion`, `MountainLion`, `Win`, `XP`, `Vista`, `Win7`, `Win7SP0`, `Linux`, `Lucid`, `x86_64`, `x86`, `Release`, `Debug`. Not all modifiers make sense on all ports or in all lines. 49 * Expectations can be one or more of `Crash`, `Failure`, `ImageOnlyFailure`, `Pass`, `Rebaseline`, `Slow`, `Skip`, `Timeout`, `WontFix` 49 * Expectations can be one or more of `Crash`, `Failure`, `ImageOnlyFailure`, `Pass`, `Rebaseline`, `Slow`, `Skip`, `Timeout`, `WontFix`. If mulitple expectations are listed, the test is considered "flaky" and any of those results will be considered as expected. 50 50 51 51 For example: … … 87 87 webkit.org/b/12345 [ SnowLeopard ] fast/html/keygen.html [ Pass ] 88 88 webkit.org/b/12345 [ Vista ] fast/forms/submit.html [ ImageOnlyFailure ] 89 webkit.org/b/12345 fast/html/section-element.html [ Failure Crash ] 89 90 }}} 90 91 … … 94 95 * {{{fast/html/keygen.html}}} to pass (since the exact match on the test name) 95 96 * {{{fast/html/submit.html}}} to pass (since the configuration parameters don't apply. 97 * {{{fast/html/section-element.html}}} to either crash or produce a text (or image and text) failure, but not to do anything, i.e., it is not expected to time out or pass. 96 98 97 99 Again, '''duplicate expectations are not allowed within a single file''' and will generate warnings. Ports may use multiple TestExpectations files, and entries in a later file override entries in an earlier file. The list of files used by a port is determined by the port's implementation of `expectation_files` in `Tools/Scripts/webkitpy/layout_tests/port/{mac,win,qt,gtk,etc.}.py`