changeset 5518:d0a022d5871e

run-tests.py: don't print a dot for skipped tests
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 09 Nov 2007 20:21:35 -0200
parents 98d5f9b95699
children b688d264a294
files tests/run-tests.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Fri Nov 09 20:21:35 2007 -0200
+++ b/tests/run-tests.py	Fri Nov 09 20:21:35 2007 -0200
@@ -266,8 +266,6 @@
     def skip(msg):
         if not verbose:
             skips.append((test, msg))
-            sys.stdout.write('s')
-            sys.stdout.flush()
         else:
             print "\nSkipping %s: %s" % (test, msg)
         return None
@@ -352,7 +350,7 @@
         ret = diffret
 
     if not verbose:
-        sys.stdout.write('.')
+        sys.stdout.write(skipped and 's' or '.')
         sys.stdout.flush()
 
     if ret != 0 and not skipped: