aboutsummaryrefslogtreecommitdiffstats
path: root/docker/prepare_env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/prepare_env.sh')
-rwxr-xr-xdocker/prepare_env.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/prepare_env.sh b/docker/prepare_env.sh
index b1aa7173..d2b5f4df 100755
--- a/docker/prepare_env.sh
+++ b/docker/prepare_env.sh
@@ -46,6 +46,11 @@ done
BASEDIR=`dirname $0`
source ${BASEDIR}/common.sh
+debug=""
+if [[ "${CI_DEBUG,,}" == "true" ]];then
+ debug="--debug"
+fi
+
info "######### Preparing Functest environment #########"
@@ -111,7 +116,7 @@ fi
# Prepare Functest Environment
info "Preparing Functest environment..."
-python ${FUNCTEST_REPO_DIR}/testcases/config_functest.py --debug start
+python ${FUNCTEST_REPO_DIR}/testcases/config_functest.py $debug start
retval=$?
if [ $retval != 0 ]; then
error "Error when configuring Functest environment"