17 lines
744 B
Bash
Executable File
17 lines
744 B
Bash
Executable File
#!/bin/bash
|
||
# Row 48 gate: queue node suite, then every scripts/test-*.sh with Docker unreachable.
|
||
export TMPDIR=~/darkwing-scratch/r48a/tmp DOCKER_HOST=unix:///nonexistent.sock
|
||
cd ~/darkwing-scratch/r48a/wt
|
||
O=~/darkwing-scratch/r48a/out
|
||
: > $O/summary.txt
|
||
echo "start $(date -u +%FT%TZ)" >> $O/summary.txt
|
||
node --test packages/queue/tests/*.test.mjs > $O/node-queue.txt 2>&1; e=$?
|
||
echo "node-queue exit=$e $(grep -E '^ℹ (pass|fail)' $O/node-queue.txt | tr '\n' ' ')" >> $O/summary.txt
|
||
for f in scripts/test-*.sh; do
|
||
s=$(basename $f .sh)
|
||
$f > $O/$s.txt 2>&1; e=$?
|
||
echo "$s exit=$e $(grep -E 'passed, [0-9]+ failed' $O/$s.txt | tail -1)" >> $O/summary.txt
|
||
done
|
||
echo "end $(date -u +%FT%TZ)" >> $O/summary.txt
|
||
echo DONE >> $O/summary.txt
|