Skip to content
Snippets Groups Projects
Commit 70a25bc8 authored by Nathan Rutman's avatar Nathan Rutman
Browse files

Report which tests were run and the total time taken

parent b3d03f05
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,9 @@ fi ...@@ -28,6 +28,9 @@ fi
LIBLUSTRE=${LIBLUSTRE:-../liblustre} LIBLUSTRE=${LIBLUSTRE:-../liblustre}
LIBLUSTRETESTS=${LIBLUSTRETESTS:-$LIBLUSTRE/tests} LIBLUSTRETESTS=${LIBLUSTRETESTS:-$LIBLUSTRE/tests}
STARTTIME=`date +%s`
RANTEST=""
LUSTRE=${LUSTRE:-`dirname $0`/..} LUSTRE=${LUSTRE:-`dirname $0`/..}
. $LUSTRE/tests/test-framework.sh . $LUSTRE/tests/test-framework.sh
init_test_env $@ init_test_env $@
...@@ -43,6 +46,7 @@ setup_if_needed() { ...@@ -43,6 +46,7 @@ setup_if_needed() {
title() { title() {
echo "-----============= acceptance-small: "$*" ============-----" echo "-----============= acceptance-small: "$*" ============-----"
RANTEST=${RANTEST}$*", "
} }
for NAME in $CONFIGS; do for NAME in $CONFIGS; do
...@@ -247,7 +251,10 @@ if [ "$SANITY_QUOTA" != "no" ]; then ...@@ -247,7 +251,10 @@ if [ "$SANITY_QUOTA" != "no" ]; then
sh sanity-quota.sh sh sanity-quota.sh
fi fi
title FINISHED
RC=$? RC=$?
title FINISHED
echo "Finished at `date` in $((`date +%s` - $STARTTIME))s"
echo "Tests ran: $RANTEST"
echo "$0: completed with rc $RC" && exit $RC echo "$0: completed with rc $RC" && exit $RC
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment