message: Splitting errors of baseline jobs
diff: @@ -178,10 +178,16 @@ stages:
  ${EXEC_PREFIX} ../runtest ../../mfem "${BASELINE_TEST} ${ADDITIONAL_DIR}"
  # post
  mkdir ${ARTIFACTS_DIR}
  - if [[ ! -f ${_full_out} || ! -f ${_out} || -s ${_full_err} ]]
  + if [[ ! -f ${_full_out} || ! -f ${_out} ]]
  then
  - echo "Something went WRONG in ${BASELINE_TEST}";
  - cp ${_full_err} ${ARTIFACTS_DIR}/
  + echo "Something went WRONG in ${BASELINE_TEST}:";
  + echo "${_full_out} and/or ${_out}";
  + exit 1;
  + elif [[ -s ${_full_err} ]]
  + then
  + echo "ERROR during ${BASELINE_TEST} execution";
  + echo "Here is the ${_full_err} file content";
  + cat ${_full_err} && cp ${_full_err} ${ARTIFACTS_DIR}/
  exit 1;
  fi
  cp ${_out} ${_out_txt}
  