Change test to dump Filecheck output to an intermediate file. This makes it easier...
authorTed Kremenek <kremenek@apple.com>
Wed, 19 Dec 2012 18:30:38 +0000 (18:30 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 19 Dec 2012 18:30:38 +0000 (18:30 +0000)
llvm-svn: 170570

clang/test/Index/c-index-getCursor-test.m

index bae5979..c179902 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -emit-pch -x objective-c %s -detailed-preprocessing-record -o %t.ast
-// RUN: c-index-test -test-file-scan %t.ast %s | FileCheck %s
+// RUN: c-index-test -test-file-scan %t.ast %s > %t 2>&1 && FileCheck --input-file=%t %s
 @interface Foo 
 {
 }