diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-07-02 18:37:59 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-07-02 18:37:59 +0000 |
commit | 49589f0d0e35f643e697ab7ae8a51a530d38b0d8 (patch) | |
tree | a8ead242b50930da01de9e4a02ac519fe7b5518c /test/Other/optimize-options.ll | |
parent | 506bb19d10fd3f1a9486e9c8bef632f13da8fe4a (diff) | |
download | external_llvm-49589f0d0e35f643e697ab7ae8a51a530d38b0d8.zip external_llvm-49589f0d0e35f643e697ab7ae8a51a530d38b0d8.tar.gz external_llvm-49589f0d0e35f643e697ab7ae8a51a530d38b0d8.tar.bz2 |
Convert the uses of '|&' to use '2>&1 |' instead, which works on old
versions of Bash. In addition, I can back out the change to the lit
built-in shell test runner to support this.
This should fix the majority of fallout on Darwin, but I suspect there
will be a few straggling issues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other/optimize-options.ll')
-rw-r--r-- | test/Other/optimize-options.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Other/optimize-options.ll b/test/Other/optimize-options.ll index 5b1fe52..888a78f 100644 --- a/test/Other/optimize-options.ll +++ b/test/Other/optimize-options.ll @@ -1,8 +1,8 @@ -;RUN: opt -S -O1 -debug-pass=Arguments |& FileCheck %s -;RUN: opt -S -O2 -debug-pass=Arguments |& FileCheck %s -;RUN: opt -S -Os -debug-pass=Arguments |& FileCheck %s -;RUN: opt -S -Oz -debug-pass=Arguments |& FileCheck %s -;RUN: opt -S -O3 -debug-pass=Arguments |& FileCheck %s +;RUN: opt -S -O1 -debug-pass=Arguments 2>&1 | FileCheck %s +;RUN: opt -S -O2 -debug-pass=Arguments 2>&1 | FileCheck %s +;RUN: opt -S -Os -debug-pass=Arguments 2>&1 | FileCheck %s +;RUN: opt -S -Oz -debug-pass=Arguments 2>&1 | FileCheck %s +;RUN: opt -S -O3 -debug-pass=Arguments 2>&1 | FileCheck %s ; Just check that we get a non-empty set of passes for each -O opton. ;CHECK: Pass Arguments: {{.*}} -print-module |