aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
parentf167bc2922c18da758f3fbcc5459798c1a7480c5 (diff)
downloadexternal_llvm-1cd8f11cc0af051ec06f579647f15485732ec555.zip
external_llvm-1cd8f11cc0af051ec06f579647f15485732ec555.tar.gz
external_llvm-1cd8f11cc0af051ec06f579647f15485732ec555.tar.bz2
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')
-rw-r--r--test/Assembler/2003-11-11-ImplicitRename.ll2
-rw-r--r--test/Assembler/2007-11-26-AttributeOverload.ll2
-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
-rw-r--r--test/TableGen/BitsInitOverflow.td2
-rw-r--r--test/TableGen/UnterminatedComment.td2
-rw-r--r--test/Verifier/2004-05-21-SwitchConstantMismatch.ll2
-rw-r--r--test/Verifier/2007-12-21-InvokeParamAttrs.ll2
-rw-r--r--test/Verifier/2008-01-11-VarargAttrs.ll2
-rw-r--r--test/Verifier/byval-1.ll2
-rw-r--r--test/Verifier/gcread-ptrptr.ll2
-rw-r--r--test/Verifier/gcroot-alloca.ll2
-rw-r--r--test/Verifier/gcroot-meta.ll2
-rw-r--r--test/Verifier/gcroot-ptrptr.ll2
-rw-r--r--test/Verifier/gcwrite-ptrptr.ll2
17 files changed, 17 insertions, 17 deletions
diff --git a/test/Assembler/2003-11-11-ImplicitRename.ll b/test/Assembler/2003-11-11-ImplicitRename.ll
index 0f858b4..7bfd3c1 100644
--- a/test/Assembler/2003-11-11-ImplicitRename.ll
+++ b/test/Assembler/2003-11-11-ImplicitRename.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s > /dev/null
+; RUN: not llvm-as < %s >& /dev/null
void %test() {
%X = add int 0, 1
diff --git a/test/Assembler/2007-11-26-AttributeOverload.ll b/test/Assembler/2007-11-26-AttributeOverload.ll
index 9aec8d9..aebc2e8 100644
--- a/test/Assembler/2007-11-26-AttributeOverload.ll
+++ b/test/Assembler/2007-11-26-AttributeOverload.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
declare i32 @atoi(i8*) nounwind readonly
declare i32 @atoi(i8*)
diff --git a/test/CodeGen/Generic/GC/badreadproto.ll b/test/CodeGen/Generic/GC/badreadproto.ll
index 8568ba4..4fe90b9 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 1b9d856..ff86d03 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 3682fc4..be81f84 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 122bfe4..2968c69 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*)
diff --git a/test/TableGen/BitsInitOverflow.td b/test/TableGen/BitsInitOverflow.td
index c0b5da9..076b3f6 100644
--- a/test/TableGen/BitsInitOverflow.td
+++ b/test/TableGen/BitsInitOverflow.td
@@ -1,4 +1,4 @@
-// RUN: not tblgen %s
+// RUN: not tblgen %s 2> /dev/null
def {
bits<2> X = 5; // bitfield is too small, reject
diff --git a/test/TableGen/UnterminatedComment.td b/test/TableGen/UnterminatedComment.td
index 7f449c4..158cede 100644
--- a/test/TableGen/UnterminatedComment.td
+++ b/test/TableGen/UnterminatedComment.td
@@ -1,4 +1,4 @@
-// RUN: not tblgen < %s
+// RUN: not tblgen < %s >& /dev/null
def x;
diff --git a/test/Verifier/2004-05-21-SwitchConstantMismatch.ll b/test/Verifier/2004-05-21-SwitchConstantMismatch.ll
index e965c6d..339a21c 100644
--- a/test/Verifier/2004-05-21-SwitchConstantMismatch.ll
+++ b/test/Verifier/2004-05-21-SwitchConstantMismatch.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as -f %s -o /dev/null
+; RUN: not llvm-as < %s >& /dev/null
diff --git a/test/Verifier/2007-12-21-InvokeParamAttrs.ll b/test/Verifier/2007-12-21-InvokeParamAttrs.ll
index 5a8fa65..709b47b 100644
--- a/test/Verifier/2007-12-21-InvokeParamAttrs.ll
+++ b/test/Verifier/2007-12-21-InvokeParamAttrs.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
declare void @foo(i8*)
diff --git a/test/Verifier/2008-01-11-VarargAttrs.ll b/test/Verifier/2008-01-11-VarargAttrs.ll
index e44a94b..b6ce625 100644
--- a/test/Verifier/2008-01-11-VarargAttrs.ll
+++ b/test/Verifier/2008-01-11-VarargAttrs.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as %s -o /dev/null
+; RUN: not llvm-as < %s >& /dev/null
%struct = type { }
diff --git a/test/Verifier/byval-1.ll b/test/Verifier/byval-1.ll
index 01207e7..9bbead0 100644
--- a/test/Verifier/byval-1.ll
+++ b/test/Verifier/byval-1.ll
@@ -1,2 +1,2 @@
-; RUN: not llvm-as %s -o /dev/null -f
+; RUN: not llvm-as < %s >& /dev/null
declare void @h(i32 byval %num)
diff --git a/test/Verifier/gcread-ptrptr.ll b/test/Verifier/gcread-ptrptr.ll
index bcfc6eb..4ed22fa 100644
--- a/test/Verifier/gcread-ptrptr.ll
+++ b/test/Verifier/gcread-ptrptr.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }
diff --git a/test/Verifier/gcroot-alloca.ll b/test/Verifier/gcroot-alloca.ll
index c44321a..8caa4b9 100644
--- a/test/Verifier/gcroot-alloca.ll
+++ b/test/Verifier/gcroot-alloca.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }
diff --git a/test/Verifier/gcroot-meta.ll b/test/Verifier/gcroot-meta.ll
index 51d1951..1836f61 100644
--- a/test/Verifier/gcroot-meta.ll
+++ b/test/Verifier/gcroot-meta.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }
diff --git a/test/Verifier/gcroot-ptrptr.ll b/test/Verifier/gcroot-ptrptr.ll
index 0a7738d..b573295 100644
--- a/test/Verifier/gcroot-ptrptr.ll
+++ b/test/Verifier/gcroot-ptrptr.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }
diff --git a/test/Verifier/gcwrite-ptrptr.ll b/test/Verifier/gcwrite-ptrptr.ll
index b1e96c8..1f60bec 100644
--- a/test/Verifier/gcwrite-ptrptr.ll
+++ b/test/Verifier/gcwrite-ptrptr.ll
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s
+; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }