# HG changeset patch # User Matt Mackall # Date 1255287533 18000 # Node ID 25858f9e65e84dc5a4ee82acd3ac287c2f21577e # Parent c06e7581bbaaef3d5bcf5e2931f4a5adb849c394 run-tests: add --noskips option diff -r c06e7581bbaa -r 25858f9e65e8 tests/run-tests.py --- a/tests/run-tests.py Fri Oct 09 03:53:24 2009 -0400 +++ b/tests/run-tests.py Sun Oct 11 13:58:53 2009 -0500 @@ -102,6 +102,8 @@ help="retest failed tests") parser.add_option("-s", "--cover_stdlib", action="store_true", help="print a test coverage report inc. standard libraries") + parser.add_option("-S", "--noskips", action="store_true", + help="don't report skip tests verbosely") parser.add_option("-t", "--timeout", type="int", help="kill errant tests after TIMEOUT seconds" " (default: $%s or %d)" % defaults['timeout']) @@ -640,8 +642,9 @@ vlog('pid %d exited, status %d' % (pid, status)) failures |= status print - for s in skips: - print "Skipped %s: %s" % (s[0], s[1]) + if not options.noskips: + for s in skips: + print "Skipped %s: %s" % (s[0], s[1]) for s in fails: print "Failed %s: %s" % (s[0], s[1])