summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/c-index-getCursor-test.m
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-12-19 18:30:38 +0000
committerTed Kremenek <kremenek@apple.com>2012-12-19 18:30:38 +0000
commit11d0b553bb059b1405ec6dccc2794eab604f2034 (patch)
treee9fd2409aa16f46f6644a1188131cc0530ed653d /clang/test/Index/c-index-getCursor-test.m
parent5f69df3f0330c73652512f458aa1c680d6c696ab (diff)
downloadbcm5719-llvm-11d0b553bb059b1405ec6dccc2794eab604f2034.tar.gz
bcm5719-llvm-11d0b553bb059b1405ec6dccc2794eab604f2034.zip
Change test to dump Filecheck output to an intermediate file. This makes it easier to update this test.
llvm-svn: 170570
Diffstat (limited to 'clang/test/Index/c-index-getCursor-test.m')
-rw-r--r--clang/test/Index/c-index-getCursor-test.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/c-index-getCursor-test.m b/clang/test/Index/c-index-getCursor-test.m
index bae59799554..c1799026cec 100644
--- a/clang/test/Index/c-index-getCursor-test.m
+++ b/clang/test/Index/c-index-getCursor-test.m
@@ -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
{
}
OpenPOWER on IntegriCloud