Ignore stderr for some more tests that expect warnings there.

This fixes 2 testcases.

llvm-svn: 52184
This commit is contained in:
Matthijs Kooijman 2008-06-10 16:13:38 +00:00
parent 07f4eecd2a
commit 6c0890a169
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep bitcast
; Ignore stderr, we expect warnings there
; RUN: llvm-as < %s 2> /dev/null | opt -instcombine | llvm-dis | not grep bitcast
define void @a() {
ret void

View File

@ -1,4 +1,5 @@
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \
; Ignore stderr, we expect warnings there
; RUN: llvm-as < %s 2> /dev/null | opt -instcombine | llvm-dis | \
; RUN: grep call | notcast
; END.