unwind/scripts/tests

12 lines
192 B
Bash
Executable file

#!/bin/sh -eu
cd "$RUN_DIR"
dbfile="$RUN_DIR/tests.sqlite.local"
trap 'rm "$dbfile"' EXIT TERM INT QUIT
[ -z "${DEBUG:-}" ] || set -x
UNWIND_STORAGE="$dbfile" \
python -m pytest "$@"