run-tests.py: reorder options alphabetically.
authorBryan O'Sullivan <bos@serpentine.com>
Fri, 05 Oct 2007 09:30:02 -0700
changeset 5383 7cdc896fdcd5
parent 5363 9bdce4a7964c
child 5384 e3a0c092b4e2
run-tests.py: reorder options alphabetically.
tests/run-tests.py
--- a/tests/run-tests.py	Tue Oct 02 21:01:00 2007 -0700
+++ b/tests/run-tests.py	Fri Oct 05 09:30:02 2007 -0700
@@ -25,24 +25,24 @@
 required_tools = ["python", "diff", "grep", "unzip", "gunzip", "bunzip2", "sed"]
 
 parser = optparse.OptionParser("%prog [options] [tests]")
-parser.add_option("-v", "--verbose", action="store_true",
-    help="output verbose messages")
-parser.add_option("-t", "--timeout", type="int",
-    help="kill errant tests after TIMEOUT seconds")
+parser.add_option("-C", "--annotate", action="store_true",
+    help="output files annotated with coverage")
 parser.add_option("-c", "--cover", action="store_true",
     help="print a test coverage report")
+parser.add_option("-f", "--first", action="store_true",
+    help="exit on the first test failure")
+parser.add_option("-i", "--interactive", action="store_true",
+    help="prompt to accept changed output")
+parser.add_option("-R", "--restart", action="store_true",
+    help="restart at last error")
+parser.add_option("-r", "--retest", action="store_true",
+    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("-C", "--annotate", action="store_true",
-    help="output files annotated with coverage")
-parser.add_option("-r", "--retest", action="store_true",
-    help="retest failed tests")
-parser.add_option("-f", "--first", action="store_true",
-    help="exit on the first test failure")
-parser.add_option("-R", "--restart", action="store_true",
-    help="restart at last error")
-parser.add_option("-i", "--interactive", action="store_true",
-    help="prompt to accept changed output")
+parser.add_option("-t", "--timeout", type="int",
+    help="kill errant tests after TIMEOUT seconds")
+parser.add_option("-v", "--verbose", action="store_true",
+    help="output verbose messages")
 
 parser.set_defaults(timeout=180)
 (options, args) = parser.parse_args()