[clang] 1c65c73 - Clear temporary file in test, buildbot appears to be reusing an old one.

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 25 08:26:49 PDT 2022


Author: Sam McCall
Date: 2022-04-25T17:26:39+02:00
New Revision: 1c65c734c93f8c4d39947e596d7fe89289ce283d

URL: https://github.com/llvm/llvm-project/commit/1c65c734c93f8c4d39947e596d7fe89289ce283d
DIFF: https://github.com/llvm/llvm-project/commit/1c65c734c93f8c4d39947e596d7fe89289ce283d.diff

LOG: Clear temporary file in test, buildbot appears to be reusing an old one.

https://lab.llvm.org/buildbot/#/builders/214/builds/903/steps/6/logs/FAIL__Clang__pch-with-module_m

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang/test/Index/pch-with-module.m b/clang/test/Index/pch-with-module.m
index 77262d5eb6d1f..9acd9694830bd 100644
--- a/clang/test/Index/pch-with-module.m
+++ b/clang/test/Index/pch-with-module.m
@@ -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


        


More information about the cfe-commits mailing list