Skip to content

Commit

Permalink
Remove mention of old deleted test scripts from testing guide
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198771 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
gix committed Jan 8, 2014
1 parent e333ed2 commit 1139063
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions docs/TestingGuide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -404,20 +404,12 @@ To add more variables, look at ``test/lit.cfg``.
Other Features
--------------

To make RUN line writing easier, there are several helper scripts and programs
in the ``llvm/test/Scripts`` directory. This directory is in the PATH
when running tests, so you can just call these scripts using their name.
For example:

``ignore``
This script runs its arguments and then always returns 0. This is useful
in cases where the test needs to cause a tool to generate an error (e.g.
to check the error output). However, any program in a pipeline that
returns a non-zero result will cause the test to fail. This script
overcomes that issue and nicely documents that the test case is
purposefully ignoring the result code of the tool
To make RUN line writing easier, there are several helper programs. These
helpers are in the PATH when running tests, so you can just call them using
their name. For example:

``not``
This script runs its arguments and then inverts the result code from it.
This program runs its arguments and then inverts the result code from it.
Zero result codes become 1. Non-zero result codes become 0.

Sometimes it is necessary to mark a test case as "expected fail" or
Expand Down

0 comments on commit 1139063

Please sign in to comment.