diff options
| author | Dmitri Gribenko <gribozavr@gmail.com> | 2014-03-27 16:15:30 +0000 |
|---|---|---|
| committer | Dmitri Gribenko <gribozavr@gmail.com> | 2014-03-27 16:15:30 +0000 |
| commit | abfa261a63f2facb73812c2fd71b60ca49a92eb1 (patch) | |
| tree | 9e789d86a12e96f4584749ba5e3c041b9bed809a /clang | |
| parent | 5d2587daa2b5218094fbe7c2395a49e87f9bd29f (diff) | |
| download | bcm5719-llvm-abfa261a63f2facb73812c2fd71b60ca49a92eb1.tar.gz bcm5719-llvm-abfa261a63f2facb73812c2fd71b60ca49a92eb1.zip | |
Add a module cache path to the test that uses -fmodules
llvm-svn: 204938
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/Index/annotate-comments-objc.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Index/annotate-comments-objc.m b/clang/test/Index/annotate-comments-objc.m index 600b6f907c7..bd32445f895 100644 --- a/clang/test/Index/annotate-comments-objc.m +++ b/clang/test/Index/annotate-comments-objc.m @@ -37,13 +37,14 @@ void functionBeforeImports(void); // RUN: rm -rf %t // RUN: mkdir %t +// RUN: mkdir %t/module-cache // Check that we serialize comment source locations properly. // RUN: %clang_cc1 -emit-pch -o %t/out.pch -F %S/Inputs/Frameworks %s // RUN: %clang_cc1 -include-pch %t/out.pch -F %S/Inputs/Frameworks -fsyntax-only %s // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s -F %S/Inputs/Frameworks > %t/out.c-index-direct -// RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s -F %S/Inputs/Frameworks -fmodules > %t/out.c-index-modules +// RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s -F %S/Inputs/Frameworks -fmodules -fmodules-cache-path=%t/module-cache > %t/out.c-index-modules // RUN: c-index-test -test-load-tu %t/out.pch all -F %S/Inputs/Frameworks > %t/out.c-index-pch // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-direct |

