-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
compiler:precompilationPrecompilation of modulesPrecompilation of modules
Description
1.12.1 regressed some tests in precompile
when run after a clean build:
Error in testset precompile:
Test Failed at /build/julia/src/julia-1.12.1/test/precompile.jl:1435
Expression: read(fname, String) == "Iterators\n"
Evaluated: "Precompiling packages...\n 640.8 ms ✓ Test6c92f26 (serial)\n 1 dependency successfully precompiled in 1 seconds\nIterators\n" == "Iterators\n"
Error in testset precompile:
Error During Test at /build/julia/src/julia-1.12.1/test/testdefs.jl:24
Got exception outside of a @test
The `precompile` test set changed the active project and did not restore the original value
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:44
[2] macro expansion
@ ~/julia/src/julia-1.12.1/test/testdefs.jl:79 [inlined]
[3] macro expansion
@ ~/julia/src/julia-1.12.1/usr/share/julia/stdlib/v1.12/Test/src/Test.jl:1776 [inlined]
[4] macro expansion
@ ~/julia/src/julia-1.12.1/test/testdefs.jl:26 [inlined]
[5] macro expansion
@ ./timing.jl:689 [inlined]
[6] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
@ Main ~/julia/src/julia-1.12.1/test/testdefs.jl:24
[7] #invokelatest_gr#232
@ ./reflection.jl:1282 [inlined]
[8] invokelatest_gr
@ ./reflection.jl:1274 [inlined]
[9] (::var"#33#34")()
@ Main ~/julia/src/julia-1.12.1/test/runtests.jl:352
[10] cd(f::var"#33#34", dir::String)
@ Base.Filesystem ./file.jl:112
[11] top-level scope
@ ~/julia/src/julia-1.12.1/test/runtests.jl:92
[12] include(mod::Module, _path::String)
@ Base ./Base.jl:306
[13] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:317
[14] _start()
@ Base ./client.jl:550
ERROR: LoadError: Test run finished with errors
Bisected to cceb0f9. The full build and test commands used are available at https://gitlab.archlinux.org/archlinux/packaging/packages/julia/-/blob/2-1.12.0-1/PKGBUILD?ref_type=tags#L58-137
Metadata
Metadata
Assignees
Labels
compiler:precompilationPrecompilation of modulesPrecompilation of modules