diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-12-23 20:52:13 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-12-23 20:52:13 (GMT) |
commit | f381ef7b599b1950b63da3ed815095066e6f4454 (patch) | |
tree | 73907be8351abd39a8806969f6ba5372496ee817 | |
parent | 5741076e8ec0f2d5085a7ea9ec8e834e62054d00 (diff) | |
download | hdf5-f381ef7b599b1950b63da3ed815095066e6f4454.zip hdf5-f381ef7b599b1950b63da3ed815095066e6f4454.tar.gz hdf5-f381ef7b599b1950b63da3ed815095066e6f4454.tar.bz2 |
[svn-r9711] Purpose:
Feature
Description:
Added the timekeeper feature.
Platforms tested:
tested by hand.
-rwxr-xr-x | bin/runtest | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/runtest b/bin/runtest index 1389845..bb7ae64 100755 --- a/bin/runtest +++ b/bin/runtest @@ -745,6 +745,11 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then PRINT_BLANK TEST_TYPE="launching" cd ${SNAPYARD}/log + # Fork off timekeeper if concurrent tests will be used. + if [ -n "$SRCDIR" ]; then + ($SNAPYARD/current/bin/timekeeper 300 &) + PRINT " Fork off timekeeper 300" + fi n_test=0 runtest_type="hosts" for h in $TESTHOST; do @@ -764,13 +769,11 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then rsh|ssh) CMD="$RSH $h -n $PROGNAME -configname $CONFIGNAME" PRINT $CMD - # kludge: some how eirene and houdin can not have - # rsh connections too close. wait a few seconds - test $h = houdin && echo "wait 10 sec for houdin" && sleep 10 # launch concurrent tests only if srcdir is used if [ -n "$SRCDIR" ]; then $CMD & + echo $! > PID.$h else $CMD fi @@ -796,7 +799,7 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then (tail -2 $TMP_OUTPUT | grep -s 'Grand total' > /dev/null 2>&1) || (REPORT_ERR "****FAILED ${h}: snaptest did not complete****" && PRINT_BLANK) - rm $TMP_OUTPUT + rm -f $TMP_OUTPUT PID.$h done exit 0 fi |