- # need to proceed despite of set -e
- success=true
- # passing the build_scm_url should not be needed anymore
- ssh 2>&1 -n ${testmaster_ssh} ${testdir}/run_log --build ${BUILD_SCM_URL} --url ${url} $run_log_env $RUN_LOG_EXTRAS $VERBOSE --all || success=
+ # temporarily turn off set -e
+ set +e
+ ssh 2>&1 -n ${testmaster_ssh} ${testdir}/run_log --build ${BUILD_SCM_URL} --url ${url} $run_log_env $RUN_LOG_EXTRAS $VERBOSE --all; retcod=$?
+ set -e
+
+ # interpret retcod of TestMain.py; 2 means there were ignored steps that failed
+ case $retcod in
+ 0) success=true; IGNORED="" ;;
+ 2) success=true; IGNORED=true ;;
+ *) success="" ;;
+ esac