X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fcommon.sh;h=eaad2ab3d5f206a1df1893c4f9b477c1a0acc9f5;hp=879602674a84bdc63056520a00f1a1029c548fab;hb=cc0c2870a18fb74a56410eca2d1870bddc945397;hpb=18422fd2221c2474f07450280a7af1a06b1c2207 diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index 879602674a..eaad2ab3d5 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -580,6 +580,14 @@ function run_pybot () { pybot "${all_options[@]}" "${GENERATED_DIR}/tests/" PYBOT_EXIT_STATUS="$?" set -e + + # Generate INFO level output_info.xml for post-processing. + all_options=("--loglevel" "INFO") + all_options+=("--log" "none") + all_options+=("--report" "none") + all_options+=("--output" "${ARCHIVE_DIR}/output_info.xml") + all_options+=("${ARCHIVE_DIR}/output.xml") + rebot "${all_options[@]}" popd || die "Change directory operation failed." }