mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 14:15:19 -04:00
do_regtest: Make summary and status more visible
This commit is contained in:
parent
432c3ca78d
commit
1805f49e32
1 changed files with 7 additions and 7 deletions
|
|
@ -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 "--------------------------------------------------------------------------"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue