# HG changeset patch # User Idan Kamara # Date 2011-04-29 17:29:22 # Node ID 4ab1e987941bca5510bcb128b649cad0e6c8e483 # Parent 90d997a812dcdded9634878a9e282ee4abf71b07 run-tests: don't count test as succeeded if it failed regressed around ec4ae5727f07 diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -792,8 +792,6 @@ def runone(options, test): vlog("# Ret was:", ret) mark = '.' - if ret == 0: - success() skipped = (ret == SKIPPED_STATUS) @@ -849,6 +847,8 @@ def runone(options, test): elif ret: mark = '!' fail("returned error code %d" % ret, ret) + else: + success() if not options.verbose: iolock.acquire()