changeset 5383:7cdc896fdcd5

run-tests.py: reorder options alphabetically.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 05 Oct 2007 09:30:02 -0700
parents 9bdce4a7964c
children e3a0c092b4e2
files tests/run-tests.py
diffstat 1 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- 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()