diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-26 22:32:58 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-07-26 22:32:58 +0000 |
| commit | 2a2a0973b8d67817c30a0105b7a09f87ec3b4fd1 (patch) | |
| tree | 132fb2aede44ab050147f3664fcd8009548d34a5 /llvm/docs/ReleaseNotes.rst | |
| parent | f9709e753ffefe931b080bcc6ef5e9217e5520e5 (diff) | |
| download | bcm5719-llvm-2a2a0973b8d67817c30a0105b7a09f87ec3b4fd1.tar.gz bcm5719-llvm-2a2a0973b8d67817c30a0105b7a09f87ec3b4fd1.zip | |
Use pipefail when available.
This change makes test with RUN lines like
RUN: opt ... | FileCheck
fail if opt fails, even if it prints what FileCheck wants. Enabling this
found some interesting cases of broken tests that were not being noticed
because opt (or some other tool) was crashing late.
Pipefail is used when the shell supports it or when using the internal
python based tester.
llvm-svn: 187261
Diffstat (limited to 'llvm/docs/ReleaseNotes.rst')
| -rw-r--r-- | llvm/docs/ReleaseNotes.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst index 93f12e5974d..e776dce29a2 100644 --- a/llvm/docs/ReleaseNotes.rst +++ b/llvm/docs/ReleaseNotes.rst @@ -41,6 +41,10 @@ Non-comprehensive list of changes in this release functionality, or simply have a lot to talk about), see the `NOTE` below for adding a new subsection. +* The regression tests now fail if any command in a pipe fails. To disable it in + a directory, just add ``config.pipefail = False`` to its ``lit.local.cfg``. + See :doc:`Lit <CommandGuide/lit>` for the details. + * Support for exception handling has been removed from the old JIT. Use MCJIT if you need EH support. |

