From: nathan Date: Thu, 26 Apr 2007 18:07:07 +0000 (+0000) Subject: Report which tests were run and the total time taken X-Git-Tag: 1.6.0~14 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=70a25bc86ba3eaac05db18d2a99baa16d3796cd3;p=fs%2Flustre-release.git Report which tests were run and the total time taken --- diff --git a/lustre/tests/acceptance-small.sh b/lustre/tests/acceptance-small.sh index 39dcbff..e00ab89 100755 --- a/lustre/tests/acceptance-small.sh +++ b/lustre/tests/acceptance-small.sh @@ -28,6 +28,9 @@ fi LIBLUSTRE=${LIBLUSTRE:-../liblustre} LIBLUSTRETESTS=${LIBLUSTRETESTS:-$LIBLUSTRE/tests} +STARTTIME=`date +%s` +RANTEST="" + LUSTRE=${LUSTRE:-`dirname $0`/..} . $LUSTRE/tests/test-framework.sh init_test_env $@ @@ -43,6 +46,7 @@ setup_if_needed() { title() { echo "-----============= acceptance-small: "$*" ============-----" + RANTEST=${RANTEST}$*", " } for NAME in $CONFIGS; do @@ -247,7 +251,10 @@ if [ "$SANITY_QUOTA" != "no" ]; then sh sanity-quota.sh fi -title FINISHED RC=$? +title FINISHED +echo "Finished at `date` in $((`date +%s` - $STARTTIME))s" +echo "Tests ran: $RANTEST" + echo "$0: completed with rc $RC" && exit $RC