Skip to content

zig_test test_runner should accept a zig_library #2

@gwenzek

Description

@gwenzek

The end goal is to allow zml users to use our async test runner in their project.
Currently test_runner accept a file, but the file is not pulled into the build sandbox.
Also a test_runner.zig may have dependencies (async in our case) so accepting a file is semantically incorrect.

The current workaround consist of declaring test_runner.zig has part of the zml lib ensuring that it is always present in the build sandbox, but it should only appear on when building the test target.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions