kick/test.sh
Andrew Hamilton 1a77721177 test: Take _ensure_build out of test_smoke.
- It didn't work with pytest xdist.
- The AI sometimes forgets to build before testing, but it is rare.
2026-09-10 08:52:47 +10:00

12 lines
159 B
Bash
Executable file

#!/bin/sh
cd "$(dirname "$0")"
./build.sh
WORKERS=$(( $(nproc)*2 ))
set -x
pytest -n $WORKERS "$@"
RC1=$?
pytest -m flaky "$@"
RC2=$?
exit $(( RC1 || RC2 ))