@@ -225,20 +225,15 @@ end
225
225
@test " destdir" ∉ readdir (dirname (destdir (dir, platform)))
226
226
end
227
227
228
- # Some tests are broken on nightly because of
229
- # https://github.com/JuliaLang/Pkg.jl/issues/3170 and
230
- # https://github.com/JuliaLang/Pkg.jl/issues/3181
231
- nightly_broken = VERSION ≥ v " 1.9.0-DEV"
232
-
233
228
# Test setup of dependencies that depend on the Julia version
234
229
with_temp_project () do dir
235
230
prefix = Prefix (dir)
236
231
dependencies = [Dependency (" GMP_jll" )]
237
232
platform = Platform (" x86_64" , " linux" ; julia_version= v " 1.5" )
238
233
239
234
# Test that a particular version of GMP is installed
240
- @test ! isempty (setup_dependencies (prefix, getpkg .(dependencies), platform)) broken = nightly_broken # restore @test_logs when not broken anymore
241
- @test isfile (joinpath (destdir (dir, platform), " lib" , " libgmp.so.10.3.2" )) broken = nightly_broken
235
+ @test @test_logs ! isempty (setup_dependencies (prefix, getpkg .(dependencies), platform))
236
+ @test isfile (joinpath (destdir (dir, platform), " lib" , " libgmp.so.10.3.2" ))
242
237
end
243
238
244
239
# Next, test on Julia v1.6
262
257
263
258
# Test that this is not instantiatable with either Julia v1.5 or v1.6
264
259
platform = Platform (" x86_64" , " linux" ; julia_version= v " 1.5" )
265
- @test_throws (nightly_broken ? AssertionError : Pkg. Resolve. ResolverError) setup_dependencies (prefix, getpkg .(dependencies), platform)
260
+ @test_throws Pkg. Resolve. ResolverError setup_dependencies (prefix, getpkg .(dependencies), platform)
266
261
platform = Platform (" x86_64" , " linux" ; julia_version= v " 1.6" )
267
262
@test_throws Pkg. Resolve. ResolverError setup_dependencies (prefix, getpkg .(dependencies), platform)
268
263
0 commit comments