Skip to content

fix: run the suite step in the build root - #20

Merged
HaoZeke merged 1 commit into
mainfrom
fix/scratch-dir
Nov 16, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
fix/scratch-dir

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

discover -s tests is relative to the working directory, and a Run step
without a cwd runs where zig build was started. zig build finds
build.zig in a parent directory, so started from src/ the suite step
built the binary, then unittest stopped with "Start directory is not
importable: 'tests'". The suite now runs in the build root wherever
zig build was started.

discover -s tests is relative to the working directory, and a Run step
without a cwd runs where zig build was started. zig build finds
build.zig in a parent directory, so started from src/ the suite step
built the binary, then unittest stopped with "Start directory is not
importable: 'tests'". The suite now runs in the build root wherever
zig build was started.
@HaoZeke
HaoZeke merged commit a418152 into main Nov 16, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant