From: Dag Sverre Seljebotn Date: Fri, 30 Jan 2009 22:10:52 +0000 (+0100) Subject: Make refnanny default in runtests.py (--no-refnanny introduced) X-Git-Tag: 0.11.rc~93^2~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bd84ca53122b8cdfc14b9bf3ec8ff1116f13b33b;p=cython.git Make refnanny default in runtests.py (--no-refnanny introduced) --- diff --git a/runtests.py b/runtests.py index 0dc20d5f..6ce181f6 100644 --- a/runtests.py +++ b/runtests.py @@ -482,9 +482,9 @@ if __name__ == '__main__': parser.add_option("--cython-only", dest="cython_only", action="store_true", default=False, help="only compile pyx to c, do not run C compiler or run the tests") - parser.add_option("--refnanny", dest="with_refnanny", - action="store_true", default=False, - help="also test that Cython-generated code does correct reference counting") + parser.add_option("--no-refnanny", dest="with_refnanny", + action="store_false", default=True, + help="do not regression test reference counting") parser.add_option("--sys-pyregr", dest="system_pyregr", action="store_true", default=False, help="run the regression tests of the CPython installation")