summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-03-17 15:20:38 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-03-17 15:20:38 (GMT)
commita30241435df4c12d40ea654c5c9721fa733d2c44 (patch)
tree7723332b539f5795125291bdb19b8ceeff09081a /bin
parent1bfaa99087d4c28503a2530575c7b423294b2432 (diff)
downloadhdf5-a30241435df4c12d40ea654c5c9721fa733d2c44.zip
hdf5-a30241435df4c12d40ea654c5c9721fa733d2c44.tar.gz
hdf5-a30241435df4c12d40ea654c5c9721fa733d2c44.tar.bz2
[svn-r3655] Purpose:
adjustment Description: When gondolin failed the 1.5 test, it moved ahead for the 1.4 test. The 1.5 test usually takes 1 hour to complete but runtest only waited 30 minutes for the 1.4 cvs update to complete. So, gondolin ended up failing the 1.4 test too. Solution: Changed the wait time to 90 minutes. Added echo statements showing it is waiting for some event. This would help the human knowing it is waiting for something. Added more comments about the algorithm of the waiting. Platforms tested: Gotta be right. :-)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runtest9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/runtest b/bin/runtest
index c69ccb3..f21dedd 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -207,6 +207,7 @@ WAITFOR()
fi
while [ ! -f $wait_file ]; do
if [ $nminutes -gt 0 ]; then
+ echo "Wait For $wait_file to appear"
sleep 60 #sleep 1 minute
else
WAIT_STATUS=1
@@ -239,6 +240,7 @@ WAITTILL()
fi
while [ -f $wait_file ]; do
if [ $nminutes -gt 0 ]; then
+ echo "Wait till $wait_file has disappeared"
sleep 60 #sleep 1 minute
else
WAIT_STATUS=1
@@ -518,8 +520,11 @@ if [ -z "$NOCVS" -a ! -f $CVSLOG ]; then
fi
PRINT_BLANK
else
- # make sure the cvs update, if done by another host, has completed
- WAITFOR $CVSLOG 30
+ # make sure the cvs update, if done by another host, has completed.
+ # First wait for the presence of $CVSLOG which signals some host
+ # has started the cvs update. Then wait for the absense of $CVSLOG_LOCK
+ # which signals the host has completed the cvs update.
+ WAITFOR $CVSLOG 90
if [ $WAIT_STATUS -ne 0 ]; then
errcode=$WAIT_STATUS
REPORT_ERR "****Time expired waiting CVS update to start****"