Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Sat, 30 Apr 2011 11:41:20 +0100
changeset 922 702ca6f80844
parent 920 3881911c17b0 (current diff)
parent 921 abb2a67ce631 (diff)
child 924 08aeedc73cb7
Merge with stable
--- a/tests/run-tests.py	Sat Apr 30 01:25:43 2011 +0100
+++ b/tests/run-tests.py	Sat Apr 30 11:41:20 2011 +0100
@@ -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()