Browse Source
Seven suites hard-required packages that only a lib-tier-provisioned runner interpreter supplies (the suite-built/runtime-store tclsh carry tcllib in their own library tree; runtests deliberately propagates the runner's [info library] into the child auto_path). On unprovisioned hosts (e.g. a PATH tclsh86 without tcllib) each such file died wholesale: load-time requires errored the file (pathcmd, argparsingtest_compare, maketcllibfetch, offsetstyle - the struct::stack cases via vendored tomlish's own require) and scriptwrap's lazy 'package require tomlish' (_read_scriptset_wrap_tomlfile) errored tests mid-body (runtimecmd_roundtrip, multishell sentinel, dtplite checkfile tests). All are now feature-probe constraints in the established have_tclcoredocs style: - pathcmd.test: jsonAvailable probe wired (was hardcoded 1 and attached to no test) gating the json round-trip test - argparsingtest_compare.test: jsonAvailable gating compare_json - maketcllibfetch.test: have_sha1 gating the artifact+sha1sums+server fixture portion (the config/env scaffolding still builds, so the trustgate and no-config tests run) and the file:// mirror test - offsetstyle.test: have_tomlish gating the build-baseline test (its G-165 exemption logic reads mapvfs.toml); the six probe tests keep running, the file-level mapvfs read already catch-degrades - runtimecmd_roundtrip.test / multishell.test: have_tomlish gating the wrap tests (multishell's wrapok fixture already catch-degrades; the sentinel keeps failing loudly on provisioned runners) - dtplite.test: tomlish folded into the existing havescriptwrap probe Verified: provisioned runners unchanged (86ts/90s green, only pre-existing isunix/parser-availability skips); PATH mingw tclsh86 (json-less, struct::stack-less) runs all seven files with visible constraint skips and zero failures; sha1-less behaviour proven via a package-unknown-cleared harness (trustgate+no-config pass, 6 fixture skips); testbody_lint clean. Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.commaster
7 changed files with 83 additions and 28 deletions
Loading…
Reference in new issue