File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -133,12 +133,20 @@ end
133
133
else
134
134
[" Zlib.log.gz" ]
135
135
end
136
- @test sort! (readdir (joinpath (destdir (dir, platform), " logs" ))) == zlib_log_files
136
+ zlib_log_dir = if VERSION ≥ v " 1.9.0-"
137
+ joinpath (destdir (dir, platform), " logs" , " Zlib" )
138
+ else
139
+ joinpath (destdir (dir, platform), " logs" )
140
+ end
141
+ @test sort! (readdir (zlib_log_dir)) == zlib_log_files
137
142
138
143
# Make sure the directories are emptied by `cleanup_dependencies`
139
144
@test_nowarn cleanup_dependencies (prefix, ap, platform)
140
145
@test readdir (joinpath (destdir (dir, platform), " include" )) == []
141
- @test readdir (joinpath (destdir (dir, platform), " logs" )) == []
146
+ # Since Julia v1.9 we use builds of Zlib which have logs in
147
+ # subdirectories of `${prefix}/logs`, so those subdirectories are
148
+ # left there empty, cannot be removed by `cleanup_dependencies`.
149
+ @test readdir (joinpath (destdir (dir, platform), " logs" )) == [] broken= VERSION ≥ v " 1.9.0-"
142
150
end
143
151
144
152
# Setup a dependency of a JLL package which is also a standard library
You can’t perform that action at this time.
0 commit comments