Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ python3 spec/conformance.py --diagram transport
python3 spec/conformance.py --diagram score
python3 spec/conformance.py --break imagegen-always-on # demo a counterexample
python3 spec/conformance.py --lean # lake build, if installed
zig build test --summary none -Dtest-filter="spec/tool_catalog"
python3 spec/conformance.py --lean --impl # Lean build + Zig fixture unit tests
```

Process kernels (`GoalLoop`, `PromptCache`, `PromptPrefix`, `PromptStable`,
Expand Down
5 changes: 3 additions & 2 deletions spec/conformance.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,11 @@ def try_impl() -> int:
if zig is None:
print("impl: zig not on PATH; skip")
return 0
cmd = [zig, "build", "test", "--summary", "none", "-Dtest-filter=spec/"]
# The "test" step also runs subprocess integrations, regardless of the unit filter.
cmd = [zig, "build", "unit", "--summary", "none", "-Dtest-filter=spec/"]
print("impl:", " ".join(cmd))
if subprocess.run(cmd, cwd=ROOT.parent).returncode != 0:
raise Counterexample("impl", None, "zig test spec/tool_catalog failed")
raise Counterexample("impl", None, "Zig spec fixture tests failed")
return 0


Expand Down
Loading