Four child-path tests in verbs.test.mjs for Dewey's and Filbert's round 1 survivors; the task.create README paragraph rewrapped. Code unchanged. Row 89 (ce104b27) edited tools.mjs and tools.test.mjs after round 1's base, so this round is built oncca5f23e. Mutants 25 of 25 killed; gate 15 of 15 green. Co-Authored-By: Claude Opus 5.5 <[email protected]>
20 lines
1005 B
Bash
20 lines
1005 B
Bash
#!/usr/bin/env bash
|
||
# Row 63 round 2 gate, rebased onto cca5f23e: tasks, harness, business, bus, cli and webui (each package's own
|
||
# test files, from its directory), then every scripts/test-*.sh, sequential, full output kept.
|
||
cd ~/darkwing-scratch/r63/wt2 || exit 2
|
||
W=$PWD
|
||
export TMPDIR=~/darkwing-scratch/r63/tmp
|
||
O=~/darkwing-scratch/r63/gate2
|
||
mkdir -p "$O"
|
||
for p in tasks harness business bus cli webui; do
|
||
s=$(date -u +%T)
|
||
case $p in webui) a=(tests/);; *) a=(tests/*.test.mjs);; esac
|
||
(cd "$W/packages/$p" && node --test "${a[@]}") > $O/node-$p.txt 2>&1; rc=$?
|
||
echo "$p rc=$rc $s-$(date -u +%T) $(grep -E '^ℹ (pass|fail|skipped)' $O/node-$p.txt | tr '\n' ' ') $(grep -cE '^✖|^not ok' $O/node-$p.txt) marks"
|
||
done
|
||
for f in scripts/test-*.sh; do
|
||
n=$(basename $f .sh); s=$(date -u +%T)
|
||
if [ $n = test-task ]; then DOCKER_HOST=unix:///nonexistent bash $f > $O/$n.txt 2>&1; else bash $f > $O/$n.txt 2>&1; fi; rc=$?
|
||
echo "$n rc=$rc $s-$(date -u +%T) $(tail -1 $O/$n.txt | cut -c1-120)"
|
||
done
|