Bugfix for the testHarness runFunctions. Martin Beaudoin

This commit is contained in:
Hrvoje Jasak 2019-07-18 15:04:49 +01:00
commit 76e215946d

View file

@ -36,10 +36,10 @@ verbose_report_on_runApplication_error()
if [ "$reportOnErrorOnlyOnce" ] ; then if [ "$reportOnErrorOnlyOnce" ] ; then
echo " " echo " "
echo " => Error running $APP_RUN..." echo " => Error running $APP_RUN..."
echo " => Here are the last 50 lines of the log file log.$APP_RUN..." echo " => Here are the last 50 lines of the log file $LOG_NAME..."
echo " " echo " "
if [ -f log.$APP_RUN ] ; then if [ -f $LOG_NAME ] ; then
tail -50 log.$APP_RUN tail -50 $LOG_NAME
exit $ecode; exit $ecode;
fi fi
fi fi