diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 12:57:32 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 12:57:32 +0000 |
commit | 1cd8f11cc0af051ec06f579647f15485732ec555 (patch) | |
tree | 1072542dfba6378515e2e037a6b5e7ee88656280 /test/CodeGen | |
parent | f167bc2922c18da758f3fbcc5459798c1a7480c5 (diff) | |
download | external_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/CodeGen')
-rw-r--r-- | test/CodeGen/Generic/GC/badreadproto.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Generic/GC/badrootproto.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Generic/GC/badwriteproto.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/Generic/GC/outside.ll | 2 |
4 files changed, 4 insertions, 4 deletions
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*) |