candidate: pin CLI Phase B and derive every artifact from the root candidate
M3 candidate for cflmy/marqdo#9: the root cli gitlink now points at the CLI Phase B commit that removed the in-repo stdlib sources and pinned the accepted ecosystem Bundle. scripts/integration.sh no longer takes a CLI artifact from View's frozen RC.4 script. One candidate derives every input: the root-owned Bundle producer assembles the Bundle from pinned gitlinks, the CLI and Worker are built from the pinned cli commit, the release archive is packaged with --stdlib-dir, and Conformance/View/Knowledge/Prove/Lint plus acceptance-stdlib all use that same installed binary and adjacent Bundle. Evidence records the exact identities. Composition gains the print-format equivalence fixture (moved from the CLI) and a pure-mode Table case; the root acceptance compares stdout line pairs so the official print/打印 aliases must produce identical formatting. Refs cflmy/marqdo#9, cflmy/marqdo-cli#11
This commit is contained in:
1 parent
48189243f7
commit
380d4f95a3
9 files changed
+514
-35
No files matched your search
@@ -157,6 +157,17 @@ def run_case(cli: str, bundle: Path, case: dict) -> dict:
|
||||
raise AcceptanceError(
|
||||
f"composition case {case['name']} stdout changed: {stdout!r}"
|
||||
)
|
||||
lines = stdout.splitlines()
|
||||
for left, right in case.get("stdout_line_pairs", []):
|
||||
if left >= len(lines) or right >= len(lines):
|
||||
raise AcceptanceError(
|
||||
f"composition case {case['name']} has no line pair {left}/{right}"
|
||||
)
|
||||
if lines[left] != lines[right]:
|
||||
raise AcceptanceError(
|
||||
f"composition case {case['name']}: line {left} differs from line {right}: "
|
||||
f"{lines[left]!r} != {lines[right]!r}"
|
||||
)
|
||||
return {"name": case["name"], "status": "PASS"}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user