diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-04-19 13:13:11 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-04-19 13:16:27 +0200 |
commit | 6717f674c95b812403ee5e99018dd1eaabf9fdc5 (patch) | |
tree | 714ad372257af703ed29ec164a850a49ea79598f /docker/prepare_env.sh | |
parent | efb3e46590a41fcff7818c79803627dedcec0cdf (diff) |
Small adaptations in prepare_env,run_tests and common
Change-Id: I5f31392b04b168247e332bc2ea97efeb733cdf97
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'docker/prepare_env.sh')
-rwxr-xr-x | docker/prepare_env.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/prepare_env.sh b/docker/prepare_env.sh index b1aa71738..d2b5f4dfb 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" |