r215454 - Add a module cache path to test/Headers/cxx11

Ben Langmuir blangmuir at apple.com
Tue Aug 12 09:42:25 PDT 2014


Author: benlangmuir
Date: Tue Aug 12 11:42:25 2014
New Revision: 215454

URL: http://llvm.org/viewvc/llvm-project?rev=215454&view=rev
Log:
Add a module cache path to test/Headers/cxx11

Don't depend on the serialization format remaining the same.

Modified:
    cfe/trunk/test/Headers/cxx11.cpp

Modified: cfe/trunk/test/Headers/cxx11.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Headers/cxx11.cpp?rev=215454&r1=215453&r2=215454&view=diff
==============================================================================
--- cfe/trunk/test/Headers/cxx11.cpp (original)
+++ cfe/trunk/test/Headers/cxx11.cpp Tue Aug 12 11:42:25 2014
@@ -1,5 +1,6 @@
+// RUN: rm -rf %t
 // RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 %s
-// RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 -fmodules %s
+// RUN: %clang_cc1 -ffreestanding -fsyntax-only -std=c++11 -fmodules -fmodules-cache-path=%t %s
 
 // This test fails on systems with older OS X 10.9 SDK headers, see PR18322.
 





More information about the cfe-commits mailing list