Skip to content

Commit ebd57d1

Browse files
authored
remove another
1 parent cf8082b commit ebd57d1

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

test/runtests.jl

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -231,26 +231,15 @@ end
231231

232232
# Test creating an empty sysimage
233233
if !is_slow_ci
234-
if is_gha_ci && is_julia_1_12
235-
# On Julia 1.12, `incremental=false` is currently broken when doing `create_library()`.
236-
# 1.12: No GitHub issue yet.
237-
# So, for now, we skip the `incremental=false` tests on Julia 1.12 when doing `create_library()`.
238-
# But ONLY on GHA (GitHub Actions).
239-
# On PkgEval, we do run these tests. This is intentional - we want PkgEval to
240-
# detect regressions, as well as fixes for those regressions.
241-
@warn "[GHA CI] This is Julia $(VERSION.major).$(VERSION.minor); skipping incremental=false test when doing `create_library()` due to known bug: issue TODO (for 1.12)"
242-
@test_skip false
243-
else
244-
tmp = mktempdir()
245-
sysimage_path = joinpath(tmp, "empty." * Libdl.dlext)
246-
foreach(x -> touch(joinpath(tmp, x)), ["Project.toml", "Manifest.toml"])
234+
tmp = mktempdir()
235+
sysimage_path = joinpath(tmp, "empty." * Libdl.dlext)
236+
foreach(x -> touch(joinpath(tmp, x)), ["Project.toml", "Manifest.toml"])
247237

248-
# This is why we need to skip this test on 1.12:
249-
incremental=false
238+
# This is why we need to skip this test on 1.12:
239+
incremental=false
250240

251-
create_sysimage(String[]; sysimage_path=sysimage_path, incremental=incremental, filter_stdlibs=true, project=tmp)
252-
hello = read(`$(Base.julia_cmd()) -J $(sysimage_path) -e 'print("hello, world")'`, String)
253-
@test hello == "hello, world"
254-
end
241+
create_sysimage(String[]; sysimage_path=sysimage_path, incremental=incremental, filter_stdlibs=true, project=tmp)
242+
hello = read(`$(Base.julia_cmd()) -J $(sysimage_path) -e 'print("hello, world")'`, String)
243+
@test hello == "hello, world"
255244
end
256245
end

0 commit comments

Comments
 (0)