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.
8 lines
62 B
Bash
Executable file
8 lines
62 B
Bash
Executable file
#!/bin/sh
|
|
|
|
|
|
set -e
|
|
|
|
|
|
cd "$(dirname "$0")"
|
|
exec pytest -v "$@"
|