@@ -16,6 +16,7 @@ Base.init_depot_path()
1616const is_ci = tryparse (Bool, get (ENV , " CI" , " " )) === true
1717const is_slow_ci = is_ci && Sys. ARCH == :aarch64
1818const is_julia_1_6 = VERSION . major == 1 && VERSION . minor == 6
19+ const is_julia_1_9 = VERSION . major == 1 && VERSION . minor == 9
1920const is_julia_1_11 = VERSION . major == 1 && VERSION . minor == 11
2021
2122if is_ci
@@ -26,12 +27,8 @@ if is_slow_ci
2627 @warn " This is \" slow CI\" (`is_ci && Sys.ARCH == :aarch64`). Some tests will be skipped or modified." Sys. ARCH
2728end
2829
29- if is_julia_1_6
30- @warn " This is Julia 1.6. Some tests will be skipped or modified." VERSION
31- end
32-
33- if is_julia_1_11
34- @warn " This is Julia 1.11. Some tests will be skipped or modified." VERSION
30+ if any ([is_julia_1_6, is_julia_1_9, is_julia_1_11])
31+ @warn " This is Julia $(VERSION . major) .$(VERSION . minor) . Some tests will be skipped or modified." VERSION
3532end
3633
3734function remove_llvmextras (project_file)
8683 # On Julia 1.11, `incremental=false` is currently broken: https://github.com/JuliaLang/PackageCompiler.jl/issues/976
8784 # So, for now, we skip the `incremental=false` tests on Julia 1.11
8885 @warn " This is Julia 1.11; skipping incremental=false test due to known bug: https://github.com/JuliaLang/PackageCompiler.jl/issues/976"
89- @test_broken false
86+ @test_skip false
9087 continue
9188 end
9289 filter_stdlibs = (is_slow_ci ? (true , ) : (true , false ))
9794 @info " starting: create_app testset" incremental filter
9895 tmp_app_source_dir = joinpath (tmp, " MyApp" )
9996 cp (app_source_dir, tmp_app_source_dir)
100- if is_julia_1_6
101- # Issue #706 "Cannot locate artifact 'LLVMExtra'" on 1.6 so remove
97+ if is_julia_1_6 || is_julia_1_9
98+ # Julia 1.6: Issue #706 "Cannot locate artifact 'LLVMExtra'" on 1.6 so remove.
99+ # Julia 1.9: There's no GitHub Issue, but it seems we hit a similar problem.
102100 remove_llvmextras (joinpath (tmp_app_source_dir, " Project.toml" ))
103101 end
104102 try
154152 @test occursin (" From worker 4:\t 8" , app_output)
155153 @test occursin (" From worker 5:\t 8" , app_output)
156154
157- if VERSION >= v " 1.7-"
155+ if is_julia_1_6 || is_julia_1_9
156+ # Julia 1.6: Issue #706 "Cannot locate artifact 'LLVMExtra'" on 1.6 so remove.
157+ # Julia 1.9: There's no GitHub Issue, but it seems we hit a similar problem.
158+ @test_skip false
159+ else
158160 @test occursin (" LLVMExtra path: ok!" , app_output)
159161 end
160162 @test occursin (" micromamba_jll path: ok!" , app_output)
0 commit comments