summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2015-10-09 22:11:23 +0530
committerJeff Darcy <jdarcy@redhat.com>2015-10-20 09:53:53 -0700
commitaa2373dab1fe2e5d5554f7cba1b77de621bb2ddf (patch)
tree6f22005c8147a9f1c1a2e956216799cfc52b30e9 /run-tests.sh
parent59401a32de51cdb6c1a5a1208723e89e1a4abd30 (diff)
tests: return success if the last test ends up with core and a bad test
Change-Id: Ie2695ebff8678851edb6b0b6e1de37e1f5ec9077 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: http://review.gluster.org/12328 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-xrun-tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/run-tests.sh b/run-tests.sh
index b8eb8e4..a69a8fa 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -232,7 +232,8 @@ function run_all ()
if [ $retval -ne 0 ]; then
if is_bad_test $t; then
echo "Ignoring failure from known-bad test $t"
- else
+ retval=0
+ else
echo
echo "Running failed test $t in debug mode"
echo "Just for debug data, does not change test result"