File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 2929 - name : run tests
3030 run : |
3131 for script in ../scripts/test00[1-9]*; do
32- ./docker_container_driver.sh $script
32+ ./docker_container_driver.sh -V $script
3333 done
Original file line number Diff line number Diff line change 2828
2929 - name : run tests
3030 run : |
31- for script in ../scripts/test000*; do
32- ./docker_container_driver.sh $script
33- done
31+ ./docker_container_driver.sh -V ../scripts/run_suite_locally.sh
Original file line number Diff line number Diff line change @@ -5,7 +5,12 @@ RUN_AS_USER=""
55ECHO_CONTAINER=" "
66REMOVE_OPTION=" --rm"
77EXPLICIT_WORKDIR=" "
8+ VERBOSITY=0
89while [[ $1 = -* ]]; do
10+ if [ " $1 " = -V ]; then
11+ VERBOSITY=1
12+ shift
13+ fi
914 if [ " $1 " = -c ]; then
1015 ECHO_CONTAINER=1
1116 shift
@@ -99,6 +104,13 @@ while :; do
99104 break
100105done
101106
107+ if [ $VERBOSITY -gt 0 ]; then
108+ echo $' \n ' " ==> Running script [$testscript_abspath ]"
109+ echo " in container [$CONTAINER ]"
110+ echo " with these *_VERSION variables in environment: "
111+ $DOCKER exec $CONTAINER bash -c ' env|grep _VERSION' | sed $' s/^/\t /'
112+ fi
113+
102114$DOCKER exec ${RUN_AS_USER: +" -u$RUN_AS_USER " } \
103115 ${WORKDIR: +" -w$WORKDIR " } \
104116 -e " ORIGINAL_SCRIPT_RELATIVE_TO_ROOT=$ORIGINAL_SCRIPT_RELATIVE_TO_ROOT " \
You can’t perform that action at this time.
0 commit comments