fixup!: docker: Enable reruning tests without bringing down setup Move options_prefix on COMPOSE_ARGS array to bottom so that, its other uses are not modified. Change-Id: I279b07d5aa266a4d91ef7460d72e2f9f9a4ce58f
diff --git a/test/docker/run.sh b/test/docker/run.sh index 681b05b..75b9b3a 100755 --- a/test/docker/run.sh +++ b/test/docker/run.sh
@@ -80,12 +80,12 @@ echo "To exec into runtests container, use following command:" echo "docker exec -it $(get_run_test_container) /bin/bash" echo "" + echo "Run the following command to bring down the setup:" + echo "docker-compose ${COMPOSE_ARGS[@]} down -v --rmi local" + echo "" options_prefix "COMPOSE_ARGS" "--compose-arg" echo "Use command below to re run tests after making changes to test scripts" echo " $MYDIR/$MYPROG --retest --preserve ${COMPOSE_ARGS[@]}" - echo "" - echo "Run the following command to bring down the setup:" - echo "docker-compose ${COMPOSE_ARGS[@]} down -v --rmi local" else docker-compose "${COMPOSE_ARGS[@]}" down -v --rmi local 2>/dev/null fi