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