From: Peter Collingbourne Date: Wed, 6 May 2015 22:31:13 +0000 (+0000) Subject: Fix public-private.modulemap test case to clear the cache on every run. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4623ed0cdfdaa62975d15e44f83b78544aa2e2e;p=clang Fix public-private.modulemap test case to clear the cache on every run. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236655 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Modules/public-private.modulemap b/test/Modules/public-private.modulemap index ef4ae9885f..a898a1b743 100644 --- a/test/Modules/public-private.modulemap +++ b/test/Modules/public-private.modulemap @@ -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"