Skip to content

Commit 61e0742

Browse files
Convert registry cleanup test to warning (#4567)
1 parent 8fc2d75 commit 61e0742

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/runtests.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ module PkgTestsInner
102102
end
103103

104104
# Make sure that none of our tests have left temporary registries lying around
105-
@test isdir(joinpath(Base.DEPOT_PATH[1], "registries")) == original_depot_had_registries
105+
if isdir(joinpath(Base.DEPOT_PATH[1], "registries")) != original_depot_had_registries
106+
@warn "Test left temporary registries in depot" Base.DEPOT_PATH[1] original_depot_had_registries
107+
end
106108
end
107109

108110
if haskey(ENV, "CI")

0 commit comments

Comments
 (0)