summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/GC
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-06-10 12:57:32 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-06-10 12:57:32 +0000
commit30a07a5504e4cf006112a00ad7c2c545363aa7d0 (patch)
tree244a4fdb4f0fe97ac3c865a54460d840f7ceae9d /llvm/test/CodeGen/Generic/GC
parentd66e18aaf64e6c177ff1ba442aaa82c5f3396948 (diff)
downloadbcm5719-llvm-30a07a5504e4cf006112a00ad7c2c545363aa7d0.tar.gz
bcm5719-llvm-30a07a5504e4cf006112a00ad7c2c545363aa7d0.zip
For all RUN lines starting with "not", redirect stderr to /dev/null so tests
don't fail when (expected) error output is produced. This fixes 17 tests. While I was there, I also made all RUN lines of the form "not llvm-as..." a bit more consistent, they now all redirect stderr and stdout to /dev/null and use input redirect to read their input. llvm-svn: 52174
Diffstat (limited to 'llvm/test/CodeGen/Generic/GC')
-rw-r--r--llvm/test/CodeGen/Generic/GC/badreadproto.ll2
-rw-r--r--llvm/test/CodeGen/Generic/GC/badrootproto.ll2
-rw-r--r--llvm/test/CodeGen/Generic/GC/badwriteproto.ll2
-rw-r--r--llvm/test/CodeGen/Generic/GC/outside.ll2
4 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/Generic/GC/badreadproto.ll b/llvm/test/CodeGen/Generic/GC/badreadproto.ll
index 8568ba41d24..4fe90b90833 100644
--- a/llvm/test/CodeGen/Generic/GC/badreadproto.ll
+++ b/llvm/test/CodeGen/Generic/GC/badreadproto.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
%list = type { i32, %list* }
diff --git a/llvm/test/CodeGen/Generic/GC/badrootproto.ll b/llvm/test/CodeGen/Generic/GC/badrootproto.ll
index 1b9d856c537..ff86d03c646 100644
--- a/llvm/test/CodeGen/Generic/GC/badrootproto.ll
+++ b/llvm/test/CodeGen/Generic/GC/badrootproto.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
%list = type { i32, %list* }
%meta = type opaque
diff --git a/llvm/test/CodeGen/Generic/GC/badwriteproto.ll b/llvm/test/CodeGen/Generic/GC/badwriteproto.ll
index 3682fc425b5..be81f842672 100644
--- a/llvm/test/CodeGen/Generic/GC/badwriteproto.ll
+++ b/llvm/test/CodeGen/Generic/GC/badwriteproto.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
%list = type { i32, %list* }
diff --git a/llvm/test/CodeGen/Generic/GC/outside.ll b/llvm/test/CodeGen/Generic/GC/outside.ll
index 122bfe4a47b..2968c6917ce 100644
--- a/llvm/test/CodeGen/Generic/GC/outside.ll
+++ b/llvm/test/CodeGen/Generic/GC/outside.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
declare void @llvm.gcroot(i8**, i8*)
OpenPOWER on IntegriCloud