Author: Armin Rigo <[email protected]>
Branch: cpyext-gc-support-2
Changeset: r82230:c55583423936
Date: 2016-02-14 11:07 +0100
http://bitbucket.org/pypy/pypy/changeset/c55583423936/
Log: Compile with "-g -O0" the examples
diff --git a/pypy/module/cpyext/test/test_cpyext.py
b/pypy/module/cpyext/test/test_cpyext.py
--- a/pypy/module/cpyext/test/test_cpyext.py
+++ b/pypy/module/cpyext/test/test_cpyext.py
@@ -73,7 +73,9 @@
else:
kwds["link_files"] = [str(api_library + '.so')]
if sys.platform.startswith('linux'):
- kwds["compile_extra"]=["-Werror=implicit-function-declaration"]
+ kwds["compile_extra"]=["-Werror=implicit-function-declaration",
+ "-g", "-O0"]
+ kwds["link_extra"]=["-g"]
modname = modname.split('.')[-1]
eci = ExternalCompilationInfo(
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit