Skip to content

zig build test-cases --watch does not pick up changes to source files #20606

@andrewrk

Description

@andrewrk

Extracted from #20580.

Currently the test-cases test suite walks the filesystem during the configure phase, loads the source files into memory, and adds WriteFile steps to write out the source code always to tmp.zig files, using those files as the inputs to Compile steps.

This issue is to rework the test cases to create the Compile steps directly using the source files from test/cases/*. This will make the file system watching mechanism pick up the changes properly.

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorcontributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions