Test failed when running with MMTk
bug
I just wanted to note that a test failed when running our CI when building Julia with MMTk [here](https://github.com/mmtk/mmtk-julia/actions/runs/13042453678/job/36391546027?pr=226). I had a quick look at the code and my guess is that [this line](https://github.com/JuliaLang/Distributed.jl/blob/ff8689ab53be9747e960a7b7eac38f6cfdf9f096/test/distributed_exec.jl#L1879):
```
testcode = setupcode * """
for w in workers()
@test remotecall_fetch(depot_path, w) == DEPOT_PATH
@test remotecall_fetch(load_path, w) == LOAD_PATH
@test remotecall_fetch(Base.load_path, w) == Base.load_path()
@test remotecall_fetch(active_project, w) == Base.ACTIVE_PROJECT[]
@test remotecall_fetch(Base.active_project, w) == Base.active_project()
end
"""
```
Should be changed into:
```
testcode = setupcode * """
for w in workers()
@test remotecall_fetch(depot_path, w) == reverse_first_two(DEPOT_PATH)
@test remotecall_fetch(load_path, w) == LOAD_PATH
@test remotecall_fetch(Base.load_path, w) == Base.load_path()
@test remotecall_fetch(active_project, w) == Base.ACTIVE_PROJECT[]
@test remotecall_fetch(Base.active_project, w) == Base.active_project()
end
"""
```
But honestly I know nothing about this code so I'm not sure if that makes sense. If it does, I'm happy to open a PR to fix it. Either way, I feel like I should report it here though in case this was a mistake on your end rather than something from our CI.
1 条评论