From: Daniel Dunbar Date: Mon, 7 Sep 2009 19:26:02 +0000 (+0000) Subject: Don't depend on Tcl behavior of redirecting stderr for all commands in a X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=59e8efdd5938172e4907afc60d45dbd9cd67c6e1;p=oota-llvm.git Don't depend on Tcl behavior of redirecting stderr for all commands in a pipeline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81153 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll b/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll index 277b4f09075..ea52ff84023 100644 --- a/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll +++ b/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll @@ -1,5 +1,5 @@ ; Ignore stderr, we expect warnings there -; RUN: llvm-as < %s 2> /dev/null | opt -instcombine | llvm-dis | not grep bitcast +; RUN: llvm-as < %s | opt -instcombine 2> /dev/null | 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 df9b2a68d9d..e1677c8fe21 100644 --- a/test/Transforms/InstCombine/call.ll +++ b/test/Transforms/InstCombine/call.ll @@ -1,5 +1,5 @@ ; Ignore stderr, we expect warnings there -; RUN: llvm-as < %s 2> /dev/null | opt -instcombine | llvm-dis | \ +; RUN: llvm-as < %s | opt -instcombine 2> /dev/null | llvm-dis | \ ; RUN: grep call | notcast ; END.