kick/test.sh
Andrew Hamilton 7db91f9d60 make test scripts build first; keep build.sh incremental
Running pytest against a stale build/ binary silently proved nothing:
test.sh and test-headless.sh now run build.sh first, and build.sh
skips meson setup/compile when both binaries are newer than their
sources (tracked per program: kick.c feeds kick, tests/wltest.c feeds
wltest, meson.build and subprojects feed both).
2026-08-19 16:02:20 +10:00

9 lines
73 B
Bash
Executable file

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