15 lines
713 B
Bash
Executable File
15 lines
713 B
Bash
Executable File
#!/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"
|