[cfe-commits] r170570 - /cfe/trunk/test/Index/c-index-getCursor-test.m
Ted Kremenek
kremenek at apple.com
Wed Dec 19 10:30:38 PST 2012
Author: kremenek
Date: Wed Dec 19 12:30:38 2012
New Revision: 170570
URL: http://llvm.org/viewvc/llvm-project?rev=170570&view=rev
Log:
Change test to dump Filecheck output to an intermediate file. This makes it easier to update this test.
Modified:
cfe/trunk/test/Index/c-index-getCursor-test.m
Modified: cfe/trunk/test/Index/c-index-getCursor-test.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/c-index-getCursor-test.m?rev=170570&r1=170569&r2=170570&view=diff
==============================================================================
--- cfe/trunk/test/Index/c-index-getCursor-test.m (original)
+++ cfe/trunk/test/Index/c-index-getCursor-test.m Wed Dec 19 12:30:38 2012
@@ -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
{
}
More information about the cfe-commits
mailing list