From 6c0890a1691408cd1ce656bed8e9e3d204af87ad Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 10 Jun 2008 16:13:38 +0000 Subject: [PATCH] Ignore stderr for some more tests that expect warnings there. This fixes 2 testcases. llvm-svn: 52184 --- .../Transforms/InstCombine/2008-01-06-BitCastAttributes.ll | 3 ++- llvm/test/Transforms/InstCombine/call.ll | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll b/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll index 99c34907c00c..277b4f09075e 100644 --- a/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll +++ b/llvm/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/llvm/test/Transforms/InstCombine/call.ll b/llvm/test/Transforms/InstCombine/call.ll index 9f9a28075599..df9b2a68d9dc 100644 --- a/llvm/test/Transforms/InstCombine/call.ll +++ b/llvm/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.