Skip to content

Test failed when running with MMTk #132

@udesou

Description

@udesou

I just wanted to note that a test failed when running our CI when building Julia with MMTk here. I had a quick look at the code and my guess is that this line:

    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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions