tests/run-tests.py
changeset 922 702ca6f80844
parent 921 abb2a67ce631
child 923 8212da2b01eb
--- 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()