Candidate manifest 616f953fe09bfc198645886bc4c7228a0fdeafa8c89b1729f2be8a5222689607 on dda7e31b0.
Owner's gate 23:11:36Z-23:15:46Z exit 0; mutants 17 of 17 killed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
27 lines
1005 B
Bash
Executable File
27 lines
1005 B
Bash
Executable File
#!/usr/bin/env bash
|
||
# Row 146 owner's gate (sage-0397): the touched packages, the packages that import the bus, and every
|
||
# scripts/test-*.sh, on dda7e31b0 plus build.patch. One log per step under gate/.
|
||
set -uo pipefail
|
||
WT=${1:-$HOME/dewey-scratch/r146/wt}
|
||
OUT=$(cd "$(dirname "$0")" && pwd)/gate
|
||
mkdir -p "$OUT"
|
||
export TMPDIR=$HOME/dewey-scratch/tmp
|
||
status=0
|
||
for p in bus business cli harness plugins seat tasks webui; 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|skipped) ' "$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
|
||
for s in "$WT"/scripts/test-*.sh; do
|
||
n=$(basename "$s" .sh)
|
||
start=$(date -u +%FT%TZ)
|
||
(cd "$WT" && bash "scripts/$n.sh") >"$OUT/$n.log" 2>&1
|
||
rc=$?
|
||
echo "$n start=$start end=$(date -u +%FT%TZ) rc=$rc"
|
||
[ "$rc" -eq 0 ] || status=1
|
||
done
|
||
exit $status
|