llvm.org GIT mirror llvm / 3d2de1d
add a stub for futher description of filecheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79106 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
1 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
2828
  • DejaGNU structure
  • 2929
    3030
  • Writing new DejaGNU tests
  • 31
  • The FileCheck utility
  • 3132
  • Variables and substitutions
  • 3233
  • Other features
  • 3334
    443444 that GREP_OPTIONS is not set in your environment. Otherwise,
    444445 you may get invalid results (both false positives and false
    445446 negatives).

    447
    448
    449
    450
    451
    452
    453
    454
    455
    456

    A powerful feature of the RUN: lines is that it allows any arbitrary commands

    457 to be executed as part of the test harness. While standard (portable) unix
    458 tools like 'grep' work fine on run lines, as you see above, there are a lot
    459 of caveats due to interaction with Tcl syntax, and we want to make that the
    460 run lines are portable to a wide range of systems. Another major problem is
    461 that grep is not very good at checking to verify that the output of a tools
    462 contains a series of different output in a specific order. The FileCheck
    463 tool was designed to help with these problems.

    464
    465
    466
    446467
    447468
    448469