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.
This commit is contained in:
1 parent
9e4ce8c052
commit
fde7e88e66
1 file changed
+1
-1
+1
-1
@@ -11,7 +11,7 @@ fi
|
|||||||
whitely echo ...ok
|
whitely echo ...ok
|
||||||
|
|
||||||
TESTS="${@:-$(find "$DIR" -name '*_test.sh')}"
|
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 running on circle, use the scheduler to work out what tests to run
|
||||||
if [ -n "$CIRCLECI" -a -z "$NO_SCHEDULER" ]; then
|
if [ -n "$CIRCLECI" -a -z "$NO_SCHEDULER" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user