From 1cd8f11cc0af051ec06f579647f15485732ec555 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 10 Jun 2008 12:57:32 +0000 Subject: 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 --- test/CodeGen/Generic/GC/badreadproto.ll | 2 +- test/CodeGen/Generic/GC/badrootproto.ll | 2 +- test/CodeGen/Generic/GC/badwriteproto.ll | 2 +- test/CodeGen/Generic/GC/outside.ll | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test/CodeGen') 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*) -- cgit v1.1