summaryrefslogtreecommitdiff
path: root/test/test_runner.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_runner.sh')
-rwxr-xr-xtest/test_runner.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_runner.sh b/test/test_runner.sh
index 868df60e3..c97d8d0f7 100755
--- a/test/test_runner.sh
+++ b/test/test_runner.sh
@@ -12,7 +12,11 @@ function execute() {
}
# Tests to run. Defaults to all.
-TESTS=${@:-.}
+if [[ -z "${TESTS}" ]]; then
+ TESTS=${@:-.}
+else
+ TESTS=$TESTS
+fi
# Run the tests.
execute time bats --tap $TESTS