Make refnanny default in runtests.py (--no-refnanny introduced)
authorDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Fri, 30 Jan 2009 22:10:52 +0000 (23:10 +0100)
committerDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Fri, 30 Jan 2009 22:10:52 +0000 (23:10 +0100)
runtests.py

index 0dc20d5fa7ff4321393d48b6144242ae66c8b2a2..6ce181f6f8eb94873ee059edf01fd05a51c88a34 100644 (file)
@@ -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")