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

17 lines
1.1 KiB
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 round 2, after the gate: the webui suite again, bus.test.mjs alone
# five times (the gate's one failure), the mutants on the rebased candidate,
# and the byte check against the base. Sequential, output kept.
W=/mnt/storage/scratch/rocko-r77
O=/mnt/storage/scratch/rocko-r77-r2/gate
P=/mnt/storage/scratch/rocko-r77-r2/pkt
cd "$W" || exit 1
node --test 'packages/webui/tests/*.test.mjs' > "$O/node-webui-rerun.txt" 2>&1; echo "node-webui rerun exit $?" | tee -a "$O/after.txt"
grep -E '^ℹ (pass|fail)' "$O/node-webui-rerun.txt" | tee -a "$O/after.txt"
for i in 1 2 3 4 5; do
node --test packages/webui/tests/bus.test.mjs > "$O/bus-test-$i.txt" 2>&1; echo "bus.test.mjs run $i exit $?" | tee -a "$O/after.txt"
done
uptime | tee -a "$O/after.txt"
python3 "$P/mutants.py" "$W" > "$P/mutants.txt" 2>&1; echo "mutants: $(grep -c '^KILLED' "$P/mutants.txt") killed, $(grep -c '^SURVIVED' "$P/mutants.txt") survived" | tee -a "$O/after.txt"
bash /mnt/storage/src/mosaic-stack/agents/rocko/work/queue-77/byte-check.sh "$W" "$(cat "$P/base.txt")" "$P/byte-check" > "$P/byte-check.txt" 2>&1; echo "byte-check exit $?" | tee -a "$O/after.txt"