diff options
author | Raghavendra Talur <rtalur@redhat.com> | 2016-02-04 18:18:15 +0530 |
---|---|---|
committer | Raghavendra Talur <rtalur@redhat.com> | 2016-02-08 00:32:11 -0800 |
commit | aeaba5858f4ec1dbea28450bae33c421c750f64a (patch) | |
tree | db28f9d27091760cc452611a2f0d01f35bcbf10a /run-tests.sh | |
parent | c18741aa2f86907c0dcd7c455f905a97e9d20162 (diff) |
tests: Cosmetic changes to make results look better
Change-Id: I39116bdca1db3a02bb018af245055fbf8279671d
BUG: 1251592
Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-on: http://review.gluster.org/13356
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-x | run-tests.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/run-tests.sh b/run-tests.sh index 4ec77a16037..5fc6be04e8b 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -195,8 +195,12 @@ function run_tests() | LC_COLLATE=C sort) ; do old_cores=$(ls /core.* 2> /dev/null | wc -l) if match $t "$@" ; then + echo + echo "==================================================" if is_bad_test $t; then echo "Skipping bad test file $t" + echo "==================================================" + echo continue fi echo "Running tests in file $t" @@ -225,11 +229,16 @@ function run_tests() RES=1 GENERATED_CORE="${GENERATED_CORE}${t} " fi + echo "End of test $t" + echo "==================================================" + echo if [ $RES -ne 0 ] && [ x"$exit_on_failure" = "xyes" ] ; then break; fi fi done + echo + echo "Run complete" if [ ${RES} -ne 0 ] ; then FAILED=$( echo ${FAILED} | tr ' ' '\n' | sort -u ) FAILED_COUNT=$( echo -n "${FAILED}" | grep -c '^' ) @@ -238,6 +247,7 @@ function run_tests() GENERATED_CORE_COUNT=$( echo -n "${GENERATED_CORE}" | grep -c '^' ) echo -e "$GENERATED_CORE_COUNT test(s) generated core \n${GENERATED_CORE}" fi + echo "Result is $RES" return ${RES} } |