summaryrefslogtreecommitdiffstats
path: root/bin/runtest
diff options
context:
space:
mode:
authorHDF Admin <hdfadmin@ncsa.uiuc.edu>2005-02-24 02:57:53 (GMT)
committerHDF Admin <hdfadmin@ncsa.uiuc.edu>2005-02-24 02:57:53 (GMT)
commit738eb4d830f781d5e53b68e142efbb1eb6fb3eb7 (patch)
tree905ba88fce63c6a28e6e8c28f0236755db501420 /bin/runtest
parente0a6b93e02c16dcdd29fd3c0d53d41cd989e6e09 (diff)
downloadhdf5-738eb4d830f781d5e53b68e142efbb1eb6fb3eb7.zip
hdf5-738eb4d830f781d5e53b68e142efbb1eb6fb3eb7.tar.gz
hdf5-738eb4d830f781d5e53b68e142efbb1eb6fb3eb7.tar.bz2
[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.
Diffstat (limited to 'bin/runtest')
-rwxr-xr-xbin/runtest6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/runtest b/bin/runtest
index 3b32fb5..f188cad 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -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}