r236655 - Fix public-private.modulemap test case to clear the cache on every run.
Peter Collingbourne
peter at pcc.me.uk
Wed May 6 15:31:13 PDT 2015
Author: pcc
Date: Wed May 6 17:31:13 2015
New Revision: 236655
URL: http://llvm.org/viewvc/llvm-project?rev=236655&view=rev
Log:
Fix public-private.modulemap test case to clear the cache on every run.
Modified:
cfe/trunk/test/Modules/public-private.modulemap
Modified: cfe/trunk/test/Modules/public-private.modulemap
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Modules/public-private.modulemap?rev=236655&r1=236654&r2=236655&view=diff
==============================================================================
--- cfe/trunk/test/Modules/public-private.modulemap (original)
+++ cfe/trunk/test/Modules/public-private.modulemap Wed May 6 17:31:13 2015
@@ -1,5 +1,6 @@
-// RUN: %clang_cc1 -fmodules -fmodule-map-file=%s -I%S -include "Inputs/empty.h" /dev/null
-// RUN: %clang_cc1 -fmodules -fmodule-map-file=%s -I%S -include "Inputs/dummy.h" /dev/null
+// RUN: rm -rf %t.modules
+// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t.modules -fmodule-map-file=%s -I%S -include "Inputs/empty.h" /dev/null
+// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t.modules -fmodule-map-file=%s -I%S -include "Inputs/dummy.h" /dev/null
module A {
header "Inputs/empty.h"
private header "Inputs/empty.h"
More information about the cfe-commits
mailing list