From: Douglas Gregor Date: Wed, 3 Mar 2010 00:03:22 +0000 (+0000) Subject: Don't use echo in the Index test, which I hope will work around an intermittent Windo... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51d07cb2f9b7e1e958a44cf894b7372b26b3b6bc;p=clang Don't use echo in the Index test, which I hope will work around an intermittent Windows failure git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97613 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Index/Inputs/cindex-from-source.h b/test/Index/Inputs/cindex-from-source.h new file mode 100644 index 0000000000..d13d397632 --- /dev/null +++ b/test/Index/Inputs/cindex-from-source.h @@ -0,0 +1 @@ +typedef int t0; diff --git a/test/Index/cindex-from-source.m b/test/Index/cindex-from-source.m index 6c5d936e20..86e794db89 100644 --- a/test/Index/cindex-from-source.m +++ b/test/Index/cindex-from-source.m @@ -1,5 +1,5 @@ -// RUN: echo 'typedef int t0;' > %t.pfx.h -// RUN: %clang -x objective-c-header %t.pfx.h -o %t.pfx.h.gch + +// RUN: %clang -x objective-c-header %S/Inputs/cindex-from-source.h -o %t.pfx.h.gch // RUN: c-index-test -test-load-source local %s -include %t.pfx.h > %t // RUN: FileCheck %s < %t // CHECK: cindex-from-source.m:{{.*}}:{{.*}}: StructDecl=s0:{{.*}}:{{.*}}