Skip to content

Commit e5baa1b

Browse files
authored
Test suite: Remove LLVMExtras on Julia 1.9
1 parent 2750f30 commit e5baa1b

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

test/runtests.jl

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Base.init_depot_path()
1616
const is_ci = tryparse(Bool, get(ENV, "CI", "")) === true
1717
const is_slow_ci = is_ci && Sys.ARCH == :aarch64
1818
const is_julia_1_6 = VERSION.major == 1 && VERSION.minor == 6
19+
const is_julia_1_9 = VERSION.major == 1 && VERSION.minor == 9
1920
const is_julia_1_11 = VERSION.major == 1 && VERSION.minor == 11
2021

2122
if 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
2728
end
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
3532
end
3633

3734
function remove_llvmextras(project_file)
@@ -97,8 +94,9 @@ end
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 issue, but it seems we hit a similar issue.
102100
remove_llvmextras(joinpath(tmp_app_source_dir, "Project.toml"))
103101
end
104102
try

0 commit comments

Comments
 (0)