# HG changeset patch # User Idan Kamara # Date 1304098162 -10800 # Node ID abb2a67ce631edf96b77e48c35a2d45d0e233f73 # Parent 1666a4a682621f54fc30469598191c2d8ed2186e run-tests: don't count test as succeeded if it failed regressed around ec4ae5727f07 [ original upstream message ] diff -r 1666a4a68262 -r abb2a67ce631 tests/run-tests.py --- a/tests/run-tests.py Mon Apr 25 17:01:34 2011 -0500 +++ 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()