Commit f42ff5ab authored by Stefan Behnel's avatar Stefan Behnel

disable gdb support for --debug convenience option in Py<=2.5

parent b17c222f
...@@ -1569,7 +1569,7 @@ def runtests(options, cmd_args, coverage=None): ...@@ -1569,7 +1569,7 @@ def runtests(options, cmd_args, coverage=None):
options.cleanup_workdir = False options.cleanup_workdir = False
options.cleanup_sharedlibs = False options.cleanup_sharedlibs = False
options.fork = False options.fork = False
if WITH_CYTHON: if WITH_CYTHON and include_debugger:
from Cython.Compiler.Main import default_options as compiler_default_options from Cython.Compiler.Main import default_options as compiler_default_options
compiler_default_options['gdb_debug'] = True compiler_default_options['gdb_debug'] = True
compiler_default_options['output_dir'] = os.getcwd() compiler_default_options['output_dir'] = os.getcwd()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment