Candidate packet for #1626: build.patch on 0bdd573ff, candidate manifest,
targeted gate (588/0 over plugins, business, bus, webui, cli) and 42/42
mutants killed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
19 lines
705 B
Bash
Executable File
19 lines
705 B
Bash
Executable File
#!/usr/bin/env bash
|
||
# Row 131 targeted builder gate (decision 136; list approved in sage-0301).
|
||
# Same command land-work.sh runs per package. One log per package under gate/.
|
||
set -uo pipefail
|
||
WT=${1:-$HOME/dewey-scratch/r131/wt}
|
||
OUT=$(cd "$(dirname "$0")" && pwd)/gate
|
||
mkdir -p "$OUT"
|
||
export TMPDIR=$HOME/dewey-scratch/tmp
|
||
status=0
|
||
for p in plugins business bus webui cli; do
|
||
start=$(date -u +%FT%TZ)
|
||
(cd "$WT/packages/$p" && node --test tests/*.test.mjs) >"$OUT/pkg-$p.log" 2>&1
|
||
rc=$?
|
||
counts=$(grep -E '^ℹ (tests|pass|fail) ' "$OUT/pkg-$p.log" | awk '{printf "%s=%s ", $2, $3}')
|
||
echo "pkg-$p start=$start end=$(date -u +%FT%TZ) rc=$rc $counts"
|
||
[ "$rc" -eq 0 ] || status=1
|
||
done
|
||
exit $status
|