Update test to explicitly capture llc output.
authorDevang Patel <dpatel@apple.com>
Wed, 16 Jun 2010 18:04:12 +0000 (18:04 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 16 Jun 2010 18:04:12 +0000 (18:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106121 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/2010-06-01-DeadArg-DbgInfo.ll

index 481c12c39d1916a9880524cd45c5a3fba6b9c32a..b1e336712341a20da6b2e24fefa8214ddca5e2de 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: llc -O2 < %s | grep this | grep -v undef
+; RUN: llc -O2  %s -o %t
+; RUN: grep this %t | grep -v undef
 ; Test to check that unused argument 'this' is not undefined in debug info.
 
 %struct.foo = type { i32 }