Files
stack/agents/filbert/work/slice1-s3-review/discord-loop.sh
T

11 lines
432 B
Bash
Executable File

#!/usr/bin/env bash
# test-discord N times, alternating trees; one line per run
O=~/filbert-scratch/r38/out
for i in 1 2 3 4 5 6; do
for P in cand base; do
cd ~/filbert-scratch/r38/$P
env -u NODE_TEST_CONTEXT timeout 900 bash scripts/test-discord.sh > "$O/loop-$P-$i.txt" 2>&1; rc=$?
echo "$P run $i exit $rc load $(cut -d' ' -f1 /proc/loadavg) $(grep -E -i 'passed|failed' "$O/loop-$P-$i.txt" | tail -1)"
done
done