Ignore stderr for some more tests that expect warnings there.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 10 Jun 2008 16:13:38 +0000 (16:13 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 10 Jun 2008 16:13:38 +0000 (16:13 +0000)
This fixes 2 testcases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52184 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
test/Transforms/InstCombine/call.ll

index 99c34907c00cc03154043ea373dae3eaa835acfe..277b4f09075e46db6d8bbe69bce018a10fa7e671 100644 (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
index 9f9a28075599d261c4659bdcfa97331e0cea402f..df9b2a68d9dc861141e29f144daf83be417f7fa1 100644 (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.