summaryrefslogtreecommitdiff
path: root/test/Verifier/2004-05-21-SwitchConstantMismatch.ll
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/Verifier/2004-05-21-SwitchConstantMismatch.ll
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/Verifier/2004-05-21-SwitchConstantMismatch.ll')
-rw-r--r--test/Verifier/2004-05-21-SwitchConstantMismatch.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Verifier/2004-05-21-SwitchConstantMismatch.ll b/test/Verifier/2004-05-21-SwitchConstantMismatch.ll
index e965c6dac9..339a21cac1 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