pyenv/test/run
Daniel Hahler ae2e7a3f0b test/run: handle optional paths/args for bats
This allows to run a single test file more easily, although that could be
done by calling bats directly.
2018-09-19 08:24:48 +02:00

9 lines
134 B
Bash
Executable file

#!/usr/bin/env bash
set -e
if [ -n "$RBENV_NATIVE_EXT" ]; then
src/configure
make -C src
fi
exec bats ${CI:+--tap} "${@:-test}"