mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187261 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
2
test/Other/pipefail.txt
Normal file
2
test/Other/pipefail.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
REQUIRES: shell
|
||||
RUN: ((false | true) && echo true || echo false) | grep false
|
Reference in New Issue
Block a user