Files
stack/agents/rocko/work/queue-77/r2/out/gate.sh
T

15 lines
713 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.
#!/bin/bash
# Row 77 gate: webui node suite, then every scripts/test-*.sh, sequentially, full output kept.
W=/mnt/storage/scratch/rocko-r77
O=/mnt/storage/scratch/rocko-r77-r2/gate
mkdir -p "$O"
cd "$W" || exit 1
node --test 'packages/webui/tests/*.test.mjs' > "$O/node-webui.txt" 2>&1; echo "node-webui exit $?" | tee -a "$O/summary.txt"
grep -E '^ℹ (pass|fail)' "$O/node-webui.txt" | tee -a "$O/summary.txt"
for s in scripts/test-*.sh; do
n=$(basename "$s" .sh)
bash "$s" > "$O/$n.txt" 2>&1; echo "$n exit $?" | tee -a "$O/summary.txt"
tail -3 "$O/$n.txt" | sed "s/^/ $n: /" | tee -a "$O/summary.txt"
done
grep -l -E '✖|^not ok' "$O"/*.txt | sed 's/^/failure markers in: /' | tee -a "$O/summary.txt"