r203511 - Add -fmodules-cache-path to test/Headers/c11.c

Ben Langmuir blangmuir at apple.com
Mon Mar 10 16:17:14 PDT 2014


Author: benlangmuir
Date: Mon Mar 10 18:17:14 2014
New Revision: 203511

URL: http://llvm.org/viewvc/llvm-project?rev=203511&view=rev
Log:
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.

Modified:
    cfe/trunk/test/Headers/c11.c

Modified: cfe/trunk/test/Headers/c11.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Headers/c11.c?rev=203511&r1=203510&r2=203511&view=diff
==============================================================================
--- cfe/trunk/test/Headers/c11.c (original)
+++ cfe/trunk/test/Headers/c11.c Mon Mar 10 18:17:14 2014
@@ -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
 





More information about the cfe-commits mailing list