diff --git a/spec/README.md b/spec/README.md index ec92a973..47f181d4 100644 --- a/spec/README.md +++ b/spec/README.md @@ -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`, diff --git a/spec/conformance.py b/spec/conformance.py index 25c613ee..f2047523 100644 --- a/spec/conformance.py +++ b/spec/conformance.py @@ -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