enable source annotations in test runner by default
authorStefan Behnel <scoder@users.berlios.de>
Fri, 5 Sep 2008 10:08:45 +0000 (12:08 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 5 Sep 2008 10:08:45 +0000 (12:08 +0200)
runtests.py

index e902035de7393a1685b23e0d0a1f2f2731cf0b94..e90c6850b06af7921b5e14976603393a98a0a892 100644 (file)
@@ -460,8 +460,11 @@ if __name__ == '__main__':
                       action="store_true", default=False,
                       help="collect source coverage data for the Compiler")
     parser.add_option("-A", "--annotate", dest="annotate_source",
-                      action="store_true", default=False,
+                      action="store_true", default=True,
                       help="generate annotated HTML versions of the test source files")
+    parser.add_option("--no-annotate", dest="annotate_source",
+                      action="store_false",
+                      help="do not generate annotated HTML versions of the test source files")
     parser.add_option("-v", "--verbose", dest="verbosity",
                       action="count", default=0,
                       help="display test progress, pass twice to print test names")