diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-03-03 00:03:22 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-03-03 00:03:22 +0000 |
commit | 51d07cb2f9b7e1e958a44cf894b7372b26b3b6bc (patch) | |
tree | 7164eb3b079cc1ceac798fe8375db561cb3c2588 | |
parent | 7d10b7eb670b821741b4c96f6cf7afbc3bb39abe (diff) |
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
-rw-r--r-- | test/Index/Inputs/cindex-from-source.h | 1 | ||||
-rw-r--r-- | test/Index/cindex-from-source.m | 4 |
2 files changed, 3 insertions, 2 deletions
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:{{.*}}:{{.*}} |