diff options
author | Sean Silva <silvas@purdue.edu> | 2013-03-19 15:22:02 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2013-03-19 15:22:02 +0000 |
commit | 8eaf3ca77061f72b93b3baf7d95c0fa42d582273 (patch) | |
tree | 7887c833f252c87c96e247ff924d979c9d580e1f /llvm/docs | |
parent | 513499d0ad4ff3aad80d7dda9819a0c51cfe6496 (diff) | |
download | bcm5719-llvm-8eaf3ca77061f72b93b3baf7d95c0fa42d582273.tar.gz bcm5719-llvm-8eaf3ca77061f72b93b3baf7d95c0fa42d582273.zip |
[docs] Remove incorrect information about lit.
Lit does support redirects in the 2>&1 style.
llvm-svn: 177403
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/TestingGuide.rst | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst index 4d8c8ce3073..1fddaa33269 100644 --- a/llvm/docs/TestingGuide.rst +++ b/llvm/docs/TestingGuide.rst @@ -224,16 +224,7 @@ Below is an example of legal RUN lines in a ``.ll`` file: ; RUN: diff %t1 %t2 As with a Unix shell, the RUN lines permit pipelines and I/O -redirection to be used. However, the usage is slightly different than -for Bash. In general, it's useful to read the code of other tests to figure out -what you can use in yours. The major differences are: - -- You can't do ``2>&1``. That will cause :program:`lit` to write to a file - named ``&1``. Usually this is done to get stderr to go through a pipe. You - can do that with ``|&`` so replace this idiom: - ``... 2>&1 | FileCheck`` with ``... |& FileCheck`` -- You can only redirect to a file, not to another descriptor and not - from a here document. +redirection to be used. There are some quoting rules that you must pay attention to when writing your RUN lines. In general nothing needs to be quoted. :program:`lit` won't |