tools: Node 26 harness base, smoke and ws-header checks (#16)

This commit is contained in:
2026-11-14 21:40:44 +01:00
parent f376efdc39
commit 65b8f0a148
6 changed files with 338 additions and 1 deletions
Executable
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# devbox run test: Nim in-process tests first, then the Node black-box harnesses (DESIGN 10.4).
# Nim gates Node: a red Nim suite stops the run (the Node stage takes seconds, but no point).
# Logs land in results/ like the other gates.
cd "$(dirname "$0")/.." || exit 1
mkdir -p results
if ! nimble test -y > results/nimble-test.log 2>&1; then
cat results/nimble-test.log
exit 1
fi
cat results/nimble-test.log
node --test tools/*.test.mjs > results/node-test.log 2>&1
rc=$?
cat results/node-test.log
exit $rc