From: Stefan Behnel Date: Mon, 26 May 2008 15:36:15 +0000 (+0200) Subject: document test runner options X-Git-Tag: 0.9.8rc1~11^2~10^2~15^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a0230a93e841edbd099c83018b03a9cc79f0c6c2;p=cython.git document test runner options --- diff --git a/runtests.py b/runtests.py index 500ab9b7..d66808d1 100644 --- a/runtests.py +++ b/runtests.py @@ -229,16 +229,21 @@ class CythonRunTestCase(CythonCompileTestCase): if __name__ == '__main__': from optparse import OptionParser parser = OptionParser() - parser.add_option("--no-cython", dest="with_cython", - action="store_false", default=True) parser.add_option("--no-cleanup", dest="cleanup_workdir", - action="store_false", default=True) + action="store_false", default=True, + help="do not delete the generated C files (allows passing --no-cython on next run)") + parser.add_option("--no-cython", dest="with_cython", + action="store_false", default=True, + help="do not run the Cython compiler, only the C compiler") parser.add_option("-C", "--coverage", dest="coverage", - action="store_true", default=False) - parser.add_option("-A", "--annotate-source", dest="annotate_source", - action="store_true", default=False) + 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, + help="generate annotated HTML versions of the test source files") parser.add_option("-v", "--verbose", dest="verbosity", - action="count", default=0) + action="count", default=0, + help="display test progress, pass twice to print test names") options, cmd_args = parser.parse_args()