Files
stack/agents/rocko/work/queue-78/out/gate.sh
T
jason.woltjeandClaude Opus 5.5 2ece44919e rocko: row 78 round 1 packet, BUILD-LOG and SESSIONS (#1572)
Packet agents/rocko/work/queue-78/ (packet manifest 9e067f40, 32 files,
candidate manifest 3016dbf1), Rocko's BUILD-LOG and SESSIONS appends.
Committed by Sage for Rocko, who has no credential.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-11 19:10:16 -05:00

17 lines
615 B
Bash
Executable File
Raw 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
set -u
W=/mnt/storage/scratch/rocko-r78; G=/mnt/storage/scratch/rocko-r78-out/gate
mkdir -p $G; cd $W
date -u +%Y-%m-%dT%H:%M:%SZ > $G/start.txt
: > $G/summary.txt
for p in cli; do
node --test "packages/$p/tests/*.test.mjs" > $G/$p.log 2>&1; rc=$?
echo "$p rc=$rc $(grep -E '^ℹ (pass|fail|skipped)' $G/$p.log | tr '\n' ' ')" >> $G/summary.txt
done
for s in scripts/test-*.sh; do
n=$(basename $s .sh)
bash $s > $G/$n.log 2>&1; rc=$?
echo "$n rc=$rc $(grep -iE '[0-9]+ passed|passed.*failed|failed' $G/$n.log | tail -1)" >> $G/summary.txt
done
date -u +%Y-%m-%dT%H:%M:%SZ > $G/end.txt