Packet agents/rocko/work/queue-79/ (packet manifest b6b11e7b, 42 files, candidate manifest 16b12387), 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]>
17 lines
653 B
Bash
17 lines
653 B
Bash
#!/usr/bin/env bash
|
||
set -u
|
||
W=/mnt/storage/scratch/rocko-r79; G=/mnt/storage/scratch/rocko-r79-out/gate
|
||
mkdir -p $G; cd $W
|
||
date -u +%Y-%m-%dT%H:%M:%SZ > $G/start.txt
|
||
: > $G/summary.txt
|
||
for p in tasks bus business harness cli webui seat; 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
|