Add output.xml with only INFO logging leve
[csit.git] / resources / libraries / bash / function / common.sh
index 8796026..eaad2ab 100644 (file)
@@ -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."
 }