Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/ReTestItems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,12 @@ function _runtests_in_current_env(
Test.TESTSET_PRINT_ENABLE[] = true
# Cleanup test setup logs
foreach(Iterators.filter(endswith(".log"), readdir(RETESTITEMS_TEMP_FOLDER[], join=true))) do logfile
rm(logfile; force=true) # `force` to ignore error if file already cleaned up
try
# See https://github.com/JuliaTesting/ReTestItems.jl/issues/124
rm(logfile; force=true) # `force` to ignore error if file already cleaned up
catch err
@debug "Error while attempting to remove $(logfile)" err
end
end
end
return nothing
Expand Down
Loading