Unclaimed files left in the canonical checkout. Inventory: canonical-cleanup-inventory.md (commit-as-evidence groups). detect-secrets scan clean on 2026-11-02: hits are sha256 pins, git object ids, test sentinels already in tracked tests and unit-file lines.
19 lines
760 B
Bash
19 lines
760 B
Bash
#!/usr/bin/env bash
|
||
# Row 149: the package suites gate.sh left out. discord and queue run inside test-discord.sh and
|
||
# test-queue.sh, so they aren't repeated here. Same logging as gate.sh, under gate/.
|
||
set -uo pipefail
|
||
WT=${1:-$HOME/dewey-scratch/r149}
|
||
OUT=$(cd "$(dirname "$0")" && pwd)/gate
|
||
mkdir -p "$OUT"
|
||
export TMPDIR=$HOME/dewey-scratch/tmp
|
||
status=0
|
||
for p in control-board conversation ledger mosaic project runs; 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
|
||
exit $status
|