From ae2e7a3f0b6682593b8fd273df0157b09e4e1f12 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 19 Sep 2018 08:23:41 +0200 Subject: [PATCH] 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. --- test/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run b/test/run index 9d3b9e5..7f0025c 100755 --- a/test/run +++ b/test/run @@ -6,4 +6,4 @@ if [ -n "$RBENV_NATIVE_EXT" ]; then make -C src fi -exec bats ${CI:+--tap} test +exec bats ${CI:+--tap} "${@:-test}"