Changes between Version 16 and Version 17 of TestExpectations
- Timestamp:
- Sep 20, 2012, 7:38:16 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TestExpectations
v16 v17 40 40 The syntax of a line is roughly: 41 41 42 [bugs] [ "[" modifiers "]" ] test_name [ "[" expectations "]" ]42 {{{ [ bugs ] [ "[" modifiers "]" ] test_name [ "[" expectations "]" ] }}} 43 43 44 * Tokens are separated by whitespace 44 * Tokens are separated by whitespace 45 * '''The brackets delimiting the modifiers and expectations from the bugs and the test_name are not optional''', although the bugs, modifiers, and expectations. In other words, if you want to specify modifiers or expectations, you must enclose them in brackets. 45 46 * Lines are expected to have one or more bug identifiers, and the linter will complain about lines missing them. Bug identifiers are of the form "webkit.org/b/12345", "crbug.com/12345", "code.google.com/p/v8/issues/detail?id=12345" or "Bug(username)" 46 47 * If no modifiers are specified, the test applies to all of the configurations applicable to that file … … 61 62 which indicates that the "fast/html/keygen.html" test file is expected to crash when run in the Debug configuration on Windows, and the tracking bug for this crash is bug #12345 in the webkit bug repository. Note that the test will still be run, so that we can notice if it doesn't actually crash. 62 63 63 The following will all produce tests that are skipped:64 Assuming you're running a debug build on Mac Lion, the following lines are all equivalent: 64 65 65 66 {{{ 66 67 fast/html/keygen.html 68 Bug(darin) fast/html/keygen.html 69 [ Lion Debug ] fast/html/keygen.html 67 70 fast/html/keygen.html [ Skip ] 68 71 fast/html/keygen.html [ WontFix ] 72 Bug(darin) [ Lion Debug] fast/html/keygen.html [ Skip ] 69 73 }}} 70 74