From 738eb4d830f781d5e53b68e142efbb1eb6fb3eb7 Mon Sep 17 00:00:00 2001 From: HDF Admin Date: Wed, 23 Feb 2005 21:57:53 -0500 Subject: [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. --- bin/runtest | 6 ++++++ 1 file changed, 6 insertions(+) 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} -- cgit v0.12