Skip to content
Browse files

do_regtest: Make summary and status more visible

  • Loading branch information...
oschuett committed May 15, 2019
1 parent 432c3ca commit 1805f49e321bb68724a2bb665eb1be55ebddf4d2
Showing with 7 additions and 7 deletions.
  1. +7 −7 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
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
@@ -1213,12 +1213,12 @@ EOF
REPORT_SUMMARY+=$(printf "; memleaks: %d" ${n_leaks})
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"
echo "Status: OK"
echo -e "Status: OK\n"

echo "--------------------------------------------------------------------------"

0 comments on commit 1805f49

Please sign in to comment.
You can’t perform that action at this time.