r204938 - Add a module cache path to the test that uses -fmodules
Dmitri Gribenko
gribozavr at gmail.com
Thu Mar 27 09:15:30 PDT 2014
Author: gribozavr
Date: Thu Mar 27 11:15:30 2014
New Revision: 204938
URL: http://llvm.org/viewvc/llvm-project?rev=204938&view=rev
Log:
Add a module cache path to the test that uses -fmodules
Modified:
cfe/trunk/test/Index/annotate-comments-objc.m
Modified: cfe/trunk/test/Index/annotate-comments-objc.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/annotate-comments-objc.m?rev=204938&r1=204937&r2=204938&view=diff
==============================================================================
--- cfe/trunk/test/Index/annotate-comments-objc.m (original)
+++ cfe/trunk/test/Index/annotate-comments-objc.m Thu Mar 27 11:15:30 2014
@@ -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
More information about the cfe-commits
mailing list