From 1805f49e321bb68724a2bb665eb1be55ebddf4d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Sch=C3=BCtt?= Date: Wed, 15 May 2019 14:37:41 +0200 Subject: [PATCH] do_regtest: Make summary and status more visible --- tools/regtesting/do_regtest | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/regtesting/do_regtest b/tools/regtesting/do_regtest index b10cfa42ef..7a9d96d7b6 100755 --- a/tools/regtesting/do_regtest +++ b/tools/regtesting/do_regtest @@ -654,8 +654,8 @@ if [[ -f ${lockfile} ]]; then echo " remove the lockfile ${lockfile}" echo " first and retry" rm -rf ${dir_out} - echo "Summary: Test directory is locked." - echo "Status: UNKNOWN" + echo -e "\nSummary: Test directory is locked." + echo -e "Status: UNKNOWN\n" exit 7 else echo "WARNING: stale lockfile in directory ${dir_last} " @@ -834,8 +834,8 @@ if [[ ${nobuild} != "nobuild" ]]; then echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" >>${error_description_file} echo "ERROR: ${make} -j $((maxbuildtasks)) ${ARCH_SPEC} VERSION=${cp2k_version} failed" >>${error_description_file} cat "${error_description_file}" - echo "Summary: Compilation failed." - echo "Status: FAILED" + echo -e "\nSummary: Compilation failed." + echo -e "Status: FAILED\n" rm ${lockfile} exit 4 else @@ -1213,12 +1213,12 @@ EOF REPORT_SUMMARY+=$(printf "; memleaks: %d" ${n_leaks}) fi REPORT_SUMMARY+=$(python -c "print('; %.0fmin'%(${full_timing_all}/60.0))") - echo "Summary: ${REPORT_SUMMARY}" + echo -e "\nSummary: ${REPORT_SUMMARY}" if ((n_wrong_results > 0)) || ((n_runtime_error > 0)) || ((n_leaks > 0)); then - echo "Status: FAILED" + echo -e "Status: FAILED\n" else - echo "Status: OK" + echo -e "Status: OK\n" fi echo "--------------------------------------------------------------------------"