summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-07-02 18:37:59 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-07-02 18:37:59 +0000
commit5da53436d526162bf696ba40df3841a6b5992fbd (patch)
tree061f2e5a2277613b41b14a278e718134527edf99 /llvm/test/Linker
parent9b887d11b5061226d9b19462f13f8e1de54cb4f4 (diff)
downloadbcm5719-llvm-5da53436d526162bf696ba40df3841a6b5992fbd.tar.gz
bcm5719-llvm-5da53436d526162bf696ba40df3841a6b5992fbd.zip
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. llvm-svn: 159544
Diffstat (limited to 'llvm/test/Linker')
-rw-r--r--llvm/test/Linker/2003-08-24-InheritPtrSize.ll2
-rw-r--r--llvm/test/Linker/link-messages.ll2
-rw-r--r--llvm/test/Linker/module-flags-4-a.ll2
-rw-r--r--llvm/test/Linker/module-flags-5-a.ll2
-rw-r--r--llvm/test/Linker/module-flags-6-a.ll2
-rw-r--r--llvm/test/Linker/redefinition.ll4
6 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/Linker/2003-08-24-InheritPtrSize.ll b/llvm/test/Linker/2003-08-24-InheritPtrSize.ll
index 487172f88f0..51d544b83f9 100644
--- a/llvm/test/Linker/2003-08-24-InheritPtrSize.ll
+++ b/llvm/test/Linker/2003-08-24-InheritPtrSize.ll
@@ -3,7 +3,7 @@
; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo "" | llvm-as > %t.out2.bc
-; RUN: llvm-link %t.out1.bc %t.out2.bc |& not grep warning
+; RUN: llvm-link %t.out1.bc %t.out2.bc 2>&1 | not grep warning
target datalayout = "e-p:64:64"
diff --git a/llvm/test/Linker/link-messages.ll b/llvm/test/Linker/link-messages.ll
index 1faae186ddd..4e7ffbc97d6 100644
--- a/llvm/test/Linker/link-messages.ll
+++ b/llvm/test/Linker/link-messages.ll
@@ -2,7 +2,7 @@
; that error is printed out.
; RUN: llvm-as %s -o %t.one.bc
; RUN: llvm-as %s -o %t.two.bc
-; RUN: not llvm-link %t.one.bc %t.two.bc -o %t.bc |& FileCheck %s
+; RUN: not llvm-link %t.one.bc %t.two.bc -o %t.bc 2>&1 | FileCheck %s
; CHECK: symbol multiply defined
define i32 @bar() {
diff --git a/llvm/test/Linker/module-flags-4-a.ll b/llvm/test/Linker/module-flags-4-a.ll
index f411a569d83..a656c8b84b9 100644
--- a/llvm/test/Linker/module-flags-4-a.ll
+++ b/llvm/test/Linker/module-flags-4-a.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-link %s %p/module-flags-4-b.ll -S -o - |& FileCheck %s
+; RUN: not llvm-link %s %p/module-flags-4-b.ll -S -o - 2>&1 | FileCheck %s
; Test 'require' error.
diff --git a/llvm/test/Linker/module-flags-5-a.ll b/llvm/test/Linker/module-flags-5-a.ll
index 2e59ecca702..8d625cd8c9d 100644
--- a/llvm/test/Linker/module-flags-5-a.ll
+++ b/llvm/test/Linker/module-flags-5-a.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-link %s %p/module-flags-5-b.ll -S -o - |& FileCheck %s
+; RUN: not llvm-link %s %p/module-flags-5-b.ll -S -o - 2>&1 | FileCheck %s
; Test the 'override' error.
diff --git a/llvm/test/Linker/module-flags-6-a.ll b/llvm/test/Linker/module-flags-6-a.ll
index c3e0225814f..5329c436a47 100644
--- a/llvm/test/Linker/module-flags-6-a.ll
+++ b/llvm/test/Linker/module-flags-6-a.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-link %s %p/module-flags-6-b.ll -S -o - |& FileCheck %s
+; RUN: not llvm-link %s %p/module-flags-6-b.ll -S -o - 2>&1 | FileCheck %s
; Test module flags error messages.
diff --git a/llvm/test/Linker/redefinition.ll b/llvm/test/Linker/redefinition.ll
index ec7e0a3002c..23ba6a100f0 100644
--- a/llvm/test/Linker/redefinition.ll
+++ b/llvm/test/Linker/redefinition.ll
@@ -3,8 +3,8 @@
; RUN: llvm-as %s -o %t.foo1.bc
; RUN: llvm-as %s -o %t.foo2.bc
; RUN: echo "define void @foo(i32 %x) { ret void }" | llvm-as -o %t.foo3.bc
-; RUN: not llvm-link %t.foo1.bc %t.foo2.bc -o %t.bc |& \
+; RUN: not llvm-link %t.foo1.bc %t.foo2.bc -o %t.bc 2>&1 | \
; RUN: grep "symbol multiply defined"
-; RUN: not llvm-link %t.foo1.bc %t.foo3.bc -o %t.bc |& \
+; RUN: not llvm-link %t.foo1.bc %t.foo3.bc -o %t.bc 2>&1 | \
; RUN: grep "symbol multiply defined"
define void @foo() { ret void }
OpenPOWER on IntegriCloud