[Modules] Fix test to wipe out the cache before using it
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 24 Apr 2017 21:58:13 +0000 (21:58 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Mon, 24 Apr 2017 21:58:13 +0000 (21:58 +0000)
This should appease bots:
http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental_check/35914

rdar://problem/31796737

llvm-svn: 301261

clang/test/Modules/localsubmodulevis.m

index f8c4b3c..bf31765 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: rm -rf %t
+// RUN: rm -rf %t.a %t.b
 // RUN: %clang_cc1 -fmodules -fmodules-local-submodule-visibility -fimplicit-module-maps -fmodules-cache-path=%t.a -I %S/Inputs/preprocess -verify %s
 // RUN: %clang_cc1 -fmodules -fmodules-local-submodule-visibility -fimplicit-module-maps -fmodules-cache-path=%t.b -I %S/Inputs/preprocess -x c -verify -x c %s