1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-08 11:33:49 -05:00

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.
This commit is contained in:
Daniel Hahler
2018-09-19 08:23:41 +02:00
parent 1c772d5ff2
commit ae2e7a3f0b

View File

@@ -6,4 +6,4 @@ if [ -n "$RBENV_NATIVE_EXT" ]; then
make -C src
fi
exec bats ${CI:+--tap} test
exec bats ${CI:+--tap} "${@:-test}"