JuliaLang/julia

run TEMP_CLEANUP during test/runtests.jl between tests

Open

#49,068 opened on Mar 20, 2023

View on GitHub
 (2 comments) (1 reaction) (0 assignees)Julia (5,773 forks)batch import
help wanted

Repository metrics

Stars
 (48,709 stars)
PR merge metrics
 (Avg merge 20d 6h) (157 merged PRs in 30d)

Description

We often are having problems where some tests (I don't know which ones) are leaving behind temp files, and resulting in problems when we go to exit later. I propose that we run the TEMP_CLEANUP hook after each testset completes, and warn if there is anything present, so we can start to identify which tests are responsible for our CI problems. (for example https://buildkite.com/julialang/julia-master/builds/22035#0186f5ed-b805-480a-ad4c-e34beeaba605)

Contributor guide