summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-05-28 03:46:30 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-05-28 03:46:30 (GMT)
commitaed9bf19db86cf7117cec39bbdb20ddf6eb981c6 (patch)
tree43622b2282c89cebe4943ee6060c2ecf6d0045ef
parent09ff15d7bb7b6b598bc07c62b43ae521d3f30ba2 (diff)
downloadhdf5-aed9bf19db86cf7117cec39bbdb20ddf6eb981c6.zip
hdf5-aed9bf19db86cf7117cec39bbdb20ddf6eb981c6.tar.gz
hdf5-aed9bf19db86cf7117cec39bbdb20ddf6eb981c6.tar.bz2
[svn-r10814] Purpose:
Feature. Description: The temporary output filename of each remote host test is now a combination of hostname and configname. Platforms tested: Will be tested by Daily test.
-rwxr-xr-xbin/runtest9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/runtest b/bin/runtest
index e4c6faa..1b610e6 100755
--- a/bin/runtest
+++ b/bin/runtest
@@ -795,7 +795,7 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then
CONFIGNAME=`echo $h | cut -f2 -d/`
h=`echo $h | cut -f1 -d/`
n_test=`expr $n_test + 1`
- TMP_OUTPUT="#$h.out"
+ TMP_OUTPUT="#${h}_${CONFIGNAME}.out"
(PRINT "=============="
PRINT "Testing $h"
PRINT "==============") > $TMP_OUTPUT
@@ -809,7 +809,7 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then
# launch concurrent tests only if srcdir is used
if [ -n "$SRCDIR" ]; then
$CMD &
- echo $! > PID.$h
+ echo $! > PID.${h}_${CONFIGNAME}
else
$CMD
fi
@@ -830,14 +830,15 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then
# Pause a moment in case the timekeeper is terminating processes.
wait 30
for h in $TESTHOST; do
+ CONFIGNAME=`echo $h | cut -f2 -d/`
h=`echo $h | cut -f1 -d/`
- TMP_OUTPUT="#$h.out"
+ TMP_OUTPUT="#${h}_${CONFIGNAME}.out"
cat $TMP_OUTPUT
# Verify test script did complete by checking the last lines
(tail -2 $TMP_OUTPUT | grep -s 'Grand total' > /dev/null 2>&1) ||
(REPORT_ERR "****FAILED ${h}: snaptest did not complete****" &&
PRINT_BLANK)
- rm -f $TMP_OUTPUT PID.$h
+ rm -f $TMP_OUTPUT PID.${h}_${CONFIGNAME}
done
exit 0
fi