Skip to content

Commit

Permalink
minor fixes on test/precompile.jl (#53476)
Browse files Browse the repository at this point in the history
These changes are driven-by fixes I found during investigating into a
more complex issue related to precompilation with external abs int.
  • Loading branch information
aviatesk authored Feb 27, 2024
1 parent 2e9b0bb commit 35cb8a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,6 @@ let newinterp_path = abspath("compiler/newinterp.jl")
import SimpleModule: basic_caller, basic_callee

module Custom
const CC = Core.Compiler
include("$($newinterp_path)")
@newinterp PrecompileInterpreter
end
Expand Down Expand Up @@ -1826,7 +1825,7 @@ let newinterp_path = abspath("compiler/newinterp.jl")
using CustomAbstractInterpreterCaching2
cache_owner = Core.Compiler.cache_owner(
CustomAbstractInterpreterCaching2.Custom.PrecompileInterpreter())
let m = only(methods(CustomAbstractInterpreterCaching.basic_callee))
let m = only(methods(CustomAbstractInterpreterCaching2.basic_callee))
mi = only(Base.specializations(m))
ci = mi.cache
@test isdefined(ci, :next)
Expand Down

2 comments on commit 35cb8a5

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package evaluation job you requested has completed - possible new issues were detected.
The full report is available.

Please sign in to comment.