From b1ebb1b3b1a5bf2b4e7f0b19499dc3a41c12d1e0 Mon Sep 17 00:00:00 2001 From: HDF Tester Date: Fri, 7 Mar 2008 16:59:24 -0500 Subject: [svn-r14712] Report error if runtest fails; use backtick even if obsolete since it works on kagiso, smirom and linew. --- bin/runtest | 6 +++--- 1 file 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) -- cgit v0.12