Clear temporary file in test, buildbot appears to be reusing an old one.
authorSam McCall <sam.mccall@gmail.com>
Mon, 25 Apr 2022 15:25:38 +0000 (17:25 +0200)
committerSam McCall <sam.mccall@gmail.com>
Mon, 25 Apr 2022 15:26:39 +0000 (17:26 +0200)
https://lab.llvm.org/buildbot/#/builders/214/builds/903/steps/6/logs/FAIL__Clang__pch-with-module_m

clang/test/Index/pch-with-module.m

index 77262d5eb6d1f533a77bffcad9907246b87ee171..9acd9694830bd755fb508fc1abc2b3b995dcd13b 100644 (file)
@@ -1,5 +1,6 @@
 // REQUIRES: x86-registered-target
 // RUN: rm -rf %t.cache
+// RUN: rm -rf %t.h.pch
 // RUN: c-index-test -write-pch %t.h.pch %s -target x86_64-apple-macosx10.7 -fobjc-arc -fmodules-cache-path=%t.cache -fmodules -F %S/../Modules/Inputs -Xclang -fdisable-module-hash
 // RUN: %clang -fsyntax-only %s -target x86_64-apple-macosx10.7 -include %t.h -fobjc-arc -fmodules-cache-path=%t.cache -fmodules -F %S/../Modules/Inputs \
 // RUN:      -Xclang -fdisable-module-hash -Xclang -detailed-preprocessing-record -Xclang -verify