diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-10-18 20:43:04 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-10-18 20:43:04 +0000 |
commit | f1706edf5dc2d290c94f6750b7264d4218d612f9 (patch) | |
tree | 0a3b09c5f5e7b8817da280dfd244fe32bff6cc61 /llvm/docs/TestingGuide.html | |
parent | 842227a2e28f6e522f10955802a00523af158606 (diff) | |
download | bcm5719-llvm-f1706edf5dc2d290c94f6750b7264d4218d612f9.tar.gz bcm5719-llvm-f1706edf5dc2d290c94f6750b7264d4218d612f9.zip |
lit: Allow XFAIL: lines to also refer to "features".
llvm-svn: 166224
Diffstat (limited to 'llvm/docs/TestingGuide.html')
-rw-r--r-- | llvm/docs/TestingGuide.html | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/llvm/docs/TestingGuide.html b/llvm/docs/TestingGuide.html index 1f9c9157306..fa3ff2b0398 100644 --- a/llvm/docs/TestingGuide.html +++ b/llvm/docs/TestingGuide.html @@ -798,14 +798,15 @@ define two separate CHECK lines that match on the same line. <p>Sometimes it is necessary to mark a test case as "expected fail" or XFAIL. You can easily mark a test as XFAIL just by including <tt>XFAIL: </tt> on a line near the top of the file. This signals that the test case should succeed - if the test fails. Such test cases are counted separately by the testing tool. To - specify an expected fail, use the XFAIL keyword in the comments of the test - program followed by a colon and one or more regular expressions (separated by - a comma). The regular expressions allow you to XFAIL the test conditionally by - host platform. The regular expressions following the : are matched against the - target triplet for the host machine. If there is a match, the test is expected - to fail. If not, the test is expected to succeed. To XFAIL everywhere just - specify <tt>XFAIL: *</tt>. Here is an example of an <tt>XFAIL</tt> line:</p> + if the test fails. Such test cases are counted separately by the testing + tool. To specify an expected fail, use the XFAIL keyword in the comments of + the test program followed by a colon and one or more failure patterns. Each + failure pattern can be either '*' (to specify fail everywhere), or a part of a + target triple (indicating the test should fail on that platfomr), or the name + of a configurable feature (for example, "loadable_module").. If there is a + match, the test is expected to fail. If not, the test is expected to + succeed. To XFAIL everywhere just specify <tt>XFAIL: *</tt>. Here is an + example of an <tt>XFAIL</tt> line:</p> <div class="doc_code"> <pre> |