From: Ben Langmuir Date: Mon, 10 Mar 2014 23:17:14 +0000 (+0000) Subject: Add -fmodules-cache-path to test/Headers/c11.c X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0ca74fa5f54694350eb42864b4594ff5d8529f0;p=clang Add -fmodules-cache-path to test/Headers/c11.c This started failing for me the last time someone modified the AST file format. It would be nice if we could just have lit take care of the module cache used during testing for us, but this helps in the meantime. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203511 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Headers/c11.c b/test/Headers/c11.c index 2debcae394..c1454c855a 100644 --- a/test/Headers/c11.c +++ b/test/Headers/c11.c @@ -1,5 +1,6 @@ +// RUN: rm -rf %t // RUN: %clang_cc1 -fsyntax-only -verify -std=c11 %s -// RUN: %clang_cc1 -fsyntax-only -verify -std=c11 -fmodules %s +// RUN: %clang_cc1 -fsyntax-only -verify -std=c11 -fmodules -fmodules-cache-path=%t %s // RUN: %clang_cc1 -fsyntax-only -verify -std=c11 -ffreestanding %s // RUN: %clang_cc1 -fsyntax-only -verify -std=c11 -triple i686-pc-win32 -fmsc-version=1700 %s