From fde7e88e66860018a34caba2252d8861d1c82452 Mon Sep 17 00:00:00 2001 From: Marc CARRE Date: Wed, 21 Dec 2016 09:57:54 +0000 Subject: [PATCH] Allow RUNNER_ARGS to be passed by calling script. This is required in order to be able to dependency-inject values from layers higher up, e.g.: RUNNER_ARGS="-parallel" from the Makefile. --- test/run_all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run_all.sh b/test/run_all.sh index db04b50f..7d8c6edd 100755 --- a/test/run_all.sh +++ b/test/run_all.sh @@ -11,7 +11,7 @@ fi whitely echo ...ok TESTS="${@:-$(find "$DIR" -name '*_test.sh')}" -RUNNER_ARGS="" +RUNNER_ARGS=${RUNNER_ARGS:-""} # If running on circle, use the scheduler to work out what tests to run if [ -n "$CIRCLECI" -a -z "$NO_SCHEDULER" ]; then