Crafter.Build/interfaces
Jorijn van der Graaf 8de93aaf06
All checks were successful
CI / build-test-release (pull_request) Successful in 9m56s
test: drop transport runners (ssh/sshwin/wsl) and the Shell-quoting enum
With test.toml + ForTarget covering the cross-arch + Windows-on-Linux
cases, the env-var-driven transport runners are dead weight. This commit
removes them and the retired tests that exercised the env-var plumbing:

  - TestRunner::Ssh / SshWin / Wsl factories and their copy/exec/cleanup
    template machinery.
  - TestRunner::Shell enum (Host/Sh/Cmd) and the ShellQuoteSh helper —
    only Host shell quoting is needed once the remote shells are gone.
  - TestRunner::copy / cleanup / remoteDir / argsShell fields.
  - WindowsPathToWsl and the {remote_bundle}/{bin_win}/{bundle_wsl}
    placeholder substitution in RunSingleTest's transport branch.
  - ParseRunnerSpec narrowed from {local, cmd, ssh, sshwin, wsl} to
    {local, cmd} — the override hatch is preserved, just simpler.
  - tests/SshRunner, tests/WindowsViaSsh, tests/QemuUser: these tested
    the CRAFTER_BUILD_RUNNER_<target> → runner plumbing that has been
    replaced by ForTarget. The runner derivation is exercised every
    time CrossArchAarch64 / Wasi / WindowsViaWine runs.
  - tests/UnitLib: ssh/sshwin spec assertions become "throws on bogus
    spec" assertions.

Refs issue #8.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 18:07:33 +02:00
..
Crafter.Build-Api.h test runner, cross-target runners, lib/exe split 2026-04-27 22:32:19 +02:00
Crafter.Build-Asset.cppm asset changes 2026-05-19 00:50:06 +02:00
Crafter.Build-Clang.cppm test: drop transport runners (ssh/sshwin/wsl) and the Shell-quoting enum 2026-05-27 18:07:33 +02:00
Crafter.Build-External.cppm asset changes 2026-05-19 00:50:06 +02:00
Crafter.Build-Implementation.cppm test runner, cross-target runners, lib/exe split 2026-04-27 22:32:19 +02:00
Crafter.Build-Interface.cppm test runner, cross-target runners, lib/exe split 2026-04-27 22:32:19 +02:00
Crafter.Build-Platform.cppm V2: WASI, -r flag, CI pipeline, examples & tests cleanup 2026-04-28 23:24:46 +02:00
Crafter.Build-Progress.cppm loading bar 2026-04-29 03:27:11 +02:00
Crafter.Build-Shader.cppm fixes 2026-05-02 21:08:51 +02:00
Crafter.Build-Test.cppm test: introduce test.toml + target-derived runners alongside existing machinery 2026-05-27 17:57:47 +02:00
Crafter.Build.cppm asset compression 2026-05-12 01:16:40 +02:00