# HG changeset patch # User Matt Mackall # Date 2009-10-11 18:58:53 # Node ID 25858f9e65e84dc5a4ee82acd3ac287c2f21577e # Parent c06e7581bbaaef3d5bcf5e2931f4a5adb849c394 run-tests: add --noskips option diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -102,6 +102,8 @@ def parseargs(): 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 @@ def runchildren(options, tests): 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])