@@ -16,6 +16,7 @@ Base.init_depot_path()
16
16
const is_ci = tryparse (Bool, get (ENV , " CI" , " " )) === true
17
17
const is_slow_ci = is_ci && Sys. ARCH == :aarch64
18
18
const is_julia_1_6 = VERSION . major == 1 && VERSION . minor == 6
19
+ const is_julia_1_9 = VERSION . major == 1 && VERSION . minor == 9
19
20
const is_julia_1_11 = VERSION . major == 1 && VERSION . minor == 11
20
21
21
22
if is_ci
@@ -26,12 +27,8 @@ if is_slow_ci
26
27
@warn " This is \" slow CI\" (`is_ci && Sys.ARCH == :aarch64`). Some tests will be skipped or modified." Sys. ARCH
27
28
end
28
29
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
35
32
end
36
33
37
34
function remove_llvmextras (project_file)
86
83
# On Julia 1.11, `incremental=false` is currently broken: https://github.com/JuliaLang/PackageCompiler.jl/issues/976
87
84
# So, for now, we skip the `incremental=false` tests on Julia 1.11
88
85
@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
90
87
continue
91
88
end
92
89
filter_stdlibs = (is_slow_ci ? (true , ) : (true , false ))
97
94
@info " starting: create_app testset" incremental filter
98
95
tmp_app_source_dir = joinpath (tmp, " MyApp" )
99
96
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.
102
100
remove_llvmextras (joinpath (tmp_app_source_dir, " Project.toml" ))
103
101
end
104
102
try
154
152
@test occursin (" From worker 4:\t 8" , app_output)
155
153
@test occursin (" From worker 5:\t 8" , app_output)
156
154
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
158
160
@test occursin (" LLVMExtra path: ok!" , app_output)
159
161
end
160
162
@test occursin (" micromamba_jll path: ok!" , app_output)
0 commit comments