mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-24 03:51:33 +01:00
Use generate_test_report to generate the run_remote_test report.
BUG=5359 Review URL: http://codereview.chromium.org/3164008
This commit is contained in:
parent
cf7e8ff5b7
commit
6cb2462132
@ -282,24 +282,11 @@ function main() {
|
||||
--ssh-port ${FLAGS_ssh_port} \
|
||||
"${option}" "${control_file}" -r "${results_dir}" ${verbose} \
|
||||
"${args[@]}"
|
||||
|
||||
results_dir="${TMP}/${results_dir_name}"
|
||||
local test_status="${results_dir}/status.log"
|
||||
local test_result_dir="${results_dir}/${short_name}"
|
||||
local keyval_file="${test_result_dir}/results/keyval"
|
||||
echo ""
|
||||
if is_successful_test "${test_status}"; then
|
||||
echo_color "green" ">>> SUCCESS: ${control_file}"
|
||||
if [[ -f "${keyval_file}" ]]; then
|
||||
echo ">>> Keyval was:"
|
||||
cat "${keyval_file}"
|
||||
fi
|
||||
else
|
||||
echo_color "red" ">>> FAILED: ${control_file}"
|
||||
cat "${test_status}"
|
||||
fi
|
||||
local end_time=$(date '+%s')
|
||||
done
|
||||
|
||||
echo ""
|
||||
echo_color "yellow" ">>> Test results:"
|
||||
$(dirname "$0")/generate_test_report "${TMP}" --strip="${TMP}/"
|
||||
}
|
||||
|
||||
main $@
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user