Files
jason.woltjeandClaude Sonnet 5.5 df5bbfb82a researcher: row 142 round 1 packet, mosaic talk prints only the reply to its own message (#1636)
Candidate on 8e2c5c2d0: 4 files, tree 91503e62b8.
6 of 6 mutants killed, 3 controls pass, cli suite and every scripts/test-*.sh green.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-15 17:44:23 -05:00

19 lines
886 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
# Row 142 (#1636): the gate the brief names (cli suite and every scripts/test-*.sh), plus the other node suites,
# run in the given worktree, every output teed to <outdir>.
# Usage: suites.sh <worktree> <outdir>
set -u -o pipefail
WT=$(cd "$1" && pwd); OUT=$(mkdir -p "$2" && cd "$2" && pwd)
cd "$WT" || exit 2
node_suite() { # name dir
setsid -w timeout -k 10 900 node --test "$2"/tests/*.test.mjs 2>&1 | tee "$OUT/$1.txt" >/dev/null
echo "$1: rc=${PIPESTATUS[0]} $(grep -E '^ℹ (tests|pass|fail) ' "$OUT/$1.txt" | tr '\n' ' ')"
}
for d in cli business bus plugins tasks webui harness seat; do node_suite $d packages/$d; done
for s in scripts/test-*.sh; do
n=$(basename "$s" .sh)
setsid -w timeout -k 10 1800 bash "$s" 2>&1 | tee "$OUT/$n.txt" >/dev/null
echo "$n: rc=${PIPESTATUS[0]} $(grep -iE 'passed|PASS|ok' "$OUT/$n.txt" | tail -1)"
done
echo done