diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 16:13:38 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 16:13:38 +0000 |
commit | 61d858e3f03b3efb483e7ee3d50438707204405e (patch) | |
tree | 4950dcd9268509644ed50ccee8055e00bf9cda1d | |
parent | 5efb967052a172822349c9cb60fb0a48743b70b6 (diff) |
Ignore stderr for some more tests that expect warnings there.
This fixes 2 testcases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52184 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll | 3 | ||||
-rw-r--r-- | test/Transforms/InstCombine/call.ll | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll b/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll index 99c34907c0..277b4f0907 100644 --- a/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll +++ b/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll @@ -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 diff --git a/test/Transforms/InstCombine/call.ll b/test/Transforms/InstCombine/call.ll index 9f9a280755..df9b2a68d9 100644 --- a/test/Transforms/InstCombine/call.ll +++ b/test/Transforms/InstCombine/call.ll @@ -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. |