[svn-r10073] Purpose:

feature

Description:
Starting to add a feature that will print out details from the snapshot
test logfile when the test fails.  Only a debug statment is added to
see if snapshot is reporting error status correctly.

Platforms tested:
Not tested.  Wait for daily test to show the result.
This commit is contained in:
HDF Admin 2005-02-23 21:57:53 -05:00
parent e0a6b93e02
commit 738eb4d830

View File

@ -390,6 +390,11 @@ RUNSNAPTEST()
[ $retcode -ne 0 ] && errcode=$retcode
date >> $LOGFILE
if [ $retcode -ne 0 ]; then
echo FAILED in $LOGFILE >> $FAILEDDETAIL
else
echo PASSED in $LOGFILE >> $FAILEDDETAIL
fi
}
@ -623,6 +628,7 @@ LOGDIR=${SNAPYARD}/log
LOGBASENAME=${LOGDIR}
PASSEDLOG=${LOGDIR}/PASSED_LOG_${TODAY}
FAILEDLOG=${LOGDIR}/FAILED_LOG_${TODAY}
FAILEDDETAIL=${LOGDIR}/FAILED_DETAIL_${TODAY}
SKIPPEDLOG=${LOGDIR}/SKIPPED_LOG_${TODAY}
TIMELOG=${LOGDIR}/TIME_LOG_${TODAY}
TIMEKEEPERLOG=${LOGDIR}/TIMEKEEPER_LOG_${TODAY}