summaryrefslogtreecommitdiff
path: root/test/CodeGen
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
commit1cd8f11cc0af051ec06f579647f15485732ec555 (patch)
tree1072542dfba6378515e2e037a6b5e7ee88656280 /test/CodeGen
parentf167bc2922c18da758f3fbcc5459798c1a7480c5 (diff)
downloadllvm-1cd8f11cc0af051ec06f579647f15485732ec555.tar.gz
llvm-1cd8f11cc0af051ec06f579647f15485732ec555.tar.bz2
llvm-1cd8f11cc0af051ec06f579647f15485732ec555.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/Generic/GC/badreadproto.ll2
-rw-r--r--test/CodeGen/Generic/GC/badrootproto.ll2
-rw-r--r--test/CodeGen/Generic/GC/badwriteproto.ll2
-rw-r--r--test/CodeGen/Generic/GC/outside.ll2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/Generic/GC/badreadproto.ll b/test/CodeGen/Generic/GC/badreadproto.ll
index 8568ba41d2..4fe90b9083 100644
--- a/test/CodeGen/Generic/GC/badreadproto.ll
+++ b/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/test/CodeGen/Generic/GC/badrootproto.ll b/test/CodeGen/Generic/GC/badrootproto.ll
index 1b9d856c53..ff86d03c64 100644
--- a/test/CodeGen/Generic/GC/badrootproto.ll
+++ b/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/test/CodeGen/Generic/GC/badwriteproto.ll b/test/CodeGen/Generic/GC/badwriteproto.ll
index 3682fc425b..be81f84267 100644
--- a/test/CodeGen/Generic/GC/badwriteproto.ll
+++ b/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/test/CodeGen/Generic/GC/outside.ll b/test/CodeGen/Generic/GC/outside.ll
index 122bfe4a47..2968c6917c 100644
--- a/test/CodeGen/Generic/GC/outside.ll
+++ b/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*)