kick/test.sh
Andrew Hamilton 70bae3061f rebuild kick before every session-spawning test
tests could silently run against a stale binary when the tree failed to
compile (the suite stayed green against the previous build).  Session
construction and _spawn_standalone now run ./build.sh -- incremental and
a no-op when up to date -- and raise immediately on failure, so a broken
tree errors every spawning test at setup with the compiler output above
it instead.  test.sh drops its build step; pytest triggers rebuilds
itself, which also covers scripts that import this module directly.
2026-08-26 11:04:31 +10:00

8 lines
62 B
Bash
Executable file

#!/bin/sh
set -e
cd "$(dirname "$0")"
exec pytest -v "$@"