#!/bin/sh
# Test runner: ./test.sh [pytest args].
# Serial (`./test.sh`) is the deterministic gate. For iteration speed,
# `./test.sh -n4` runs workers in parallel (~3x faster here); workers are
# isolated (unique logs, per-session KICK_DUMP_DIR, pid-unique sockets),
# but a few timing-sensitive tests may flake under load -- re-run serially
# to confirm.
set -e
cd "$(dirname "$0")"
exec pytest -v "$@"