summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
18422fd)
- Useful for post-processing.
Change-Id: I6f71087f8c6f6d66fd86207d5df9abd10e94f855
Signed-off-by: Peter Mikus <pmikus@cisco.com>
pybot "${all_options[@]}" "${GENERATED_DIR}/tests/"
PYBOT_EXIT_STATUS="$?"
set -e
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."
}
popd || die "Change directory operation failed."
}
history_list = DICT__DUTS_PAPI_HISTORY[node['host']]
if not history_list:
history_list = ("No PAPI command executed", )
history_list = DICT__DUTS_PAPI_HISTORY[node['host']]
if not history_list:
history_list = ("No PAPI command executed", )
"{0} PAPI command history:\n{1}\n".format(
node['host'], "\n".join(history_list)))
"{0} PAPI command history:\n{1}\n".format(
node['host'], "\n".join(history_list)))
"""
vat = VatExecutor()
vat.execute_script("show_runtime.vat", node, json_out=False)
"""
vat = VatExecutor()
vat.execute_script("show_runtime.vat", node, json_out=False)
+ logger.info(vat.get_script_stdout())
vat.script_should_have_passed()
@staticmethod
vat.script_should_have_passed()
@staticmethod
"""
vat = VatExecutor()
vat.execute_script("show_runtime_verbose.vat", node, json_out=False)
"""
vat = VatExecutor()
vat.execute_script("show_runtime_verbose.vat", node, json_out=False)
+ logger.info(vat.get_script_stdout())
vat.script_should_have_passed()
@staticmethod
vat.script_should_have_passed()
@staticmethod