diff options
author | HDF Tester <hdftest@hdfgroup.org> | 2008-03-07 21:59:24 (GMT) |
---|---|---|
committer | HDF Tester <hdftest@hdfgroup.org> | 2008-03-07 21:59:24 (GMT) |
commit | b1ebb1b3b1a5bf2b4e7f0b19499dc3a41c12d1e0 (patch) | |
tree | 0f9170f365543396ecf7a2db374843de5f2c3c06 /bin/runtest | |
parent | 50be73bf3b77ea12b22047ffbede2e1ff8e1ed42 (diff) | |
download | hdf5-b1ebb1b3b1a5bf2b4e7f0b19499dc3a41c12d1e0.zip hdf5-b1ebb1b3b1a5bf2b4e7f0b19499dc3a41c12d1e0.tar.gz hdf5-b1ebb1b3b1a5bf2b4e7f0b19499dc3a41c12d1e0.tar.bz2 |
[svn-r14712] Report error if runtest fails; use backtick even if obsolete since it works on kagiso, smirom and linew.
Diffstat (limited to 'bin/runtest')
-rwxr-xr-x | bin/runtest | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/runtest b/bin/runtest index 9430932..fb6c530 100755 --- a/bin/runtest +++ b/bin/runtest @@ -875,7 +875,7 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then cd ${SNAPYARD}/log # Fork off timekeeper if concurrent tests will be used. if [ -n "$SRCDIR" ]; then - timelimit=$(TIMELIMIT_PARSE < $TIMELIMIT) + timelimit=`TIMELIMIT_PARSE < $TIMELIMIT` ($SNAPYARD/current/bin/timekeeper $timelimit > $TIMEKEEPERLOG 2>&1 &) PRINT " Fork off timekeeper $timelimit" fi @@ -900,10 +900,10 @@ if [ -n "$TESTHOST" -a $HOSTNAME != "$TESTHOST" ]; then # launch concurrent tests only if srcdir is used if [ -n "$SRCDIR" ]; then - $CMD & + $CMD || REPORT_ERR "****FAILED ${h}: Abnormal exit from runtest****" && PRINT_BLANK & echo $! > PID.${h}_${CONFIGNAME} else - $CMD + $CMD || REPORT_ERR "****FAILED ${h}: Abnormal exit from runtest****" && PRINT_BLANK fi ;; NoRemoteCommand) |