Skip to content
Merged
Changes from 1 commit
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
@warn "Error while attempting to remove $(logfile)" err
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we even need to log this to the user as a warning? is a @debug enough?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

end
end
end
return nothing
Expand Down
Loading