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
This commit is contained in:
Matthijs Kooijman 2008-06-10 12:57:32 +00:00
parent f167bc2922
commit 1cd8f11cc0
17 changed files with 17 additions and 17 deletions

View File

@ -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

View File

@ -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*)

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as < %s
; RUN: not llvm-as < %s >& /dev/null
%list = type { i32, %list* }

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as < %s
; RUN: not llvm-as < %s >& /dev/null
%list = type { i32, %list* }
%meta = type opaque

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as < %s
; RUN: not llvm-as < %s >& /dev/null
%list = type { i32, %list* }

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as < %s
; RUN: not llvm-as < %s >& /dev/null
declare void @llvm.gcroot(i8**, i8*)

View File

@ -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

View File

@ -1,4 +1,4 @@
// RUN: not tblgen < %s
// RUN: not tblgen < %s >& /dev/null
def x;

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as -f %s -o /dev/null
; RUN: not llvm-as < %s >& /dev/null

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as < %s
; RUN: not llvm-as < %s >& /dev/null
declare void @foo(i8*)

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as %s -o /dev/null
; RUN: not llvm-as < %s >& /dev/null
%struct = type { }

View File

@ -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)

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as < %s
; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as < %s
; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as < %s
; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as < %s
; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }

View File

@ -1,4 +1,4 @@
; RUN: not llvm-as < %s
; RUN: not llvm-as < %s >& /dev/null
; PR1633
%meta = type { i8* }