Changes between Version 16 and Version 17 of TestExpectations


Ignore:
Timestamp:
Sep 20, 2012 7:38:16 PM (12 years ago)
Author:
dpranke@chromium.org
Comment:

clarify the need to actually type the brackets as delimiters on a line, and fix the wiki escaping.

Legend:

Unmodified
Added
Removed
Modified
  • TestExpectations

    v16 v17  
    4040The syntax of a line is roughly:
    4141
    42           [bugs] [ "[" modifiers "]" ] test_name [ "[" expectations "]" ]       
     42          {{{ [ bugs ] [ "[" modifiers "]" ] test_name [ "[" expectations "]" ] }}}
    4343                           
    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.                                                     
    4546* 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)"
    4647* If no modifiers are specified, the test applies to all of the configurations applicable to that file
     
    6162which 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.
    6263
    63 The following will all produce tests that are skipped:
     64Assuming you're running a debug build on Mac Lion, the following lines are all equivalent:
    6465
    6566{{{
    6667fast/html/keygen.html
     68Bug(darin) fast/html/keygen.html
     69[ Lion Debug ] fast/html/keygen.html
    6770fast/html/keygen.html [ Skip ]
    6871fast/html/keygen.html [ WontFix ]
     72Bug(darin) [ Lion Debug] fast/html/keygen.html [ Skip ]
    6973}}}
    7074