[pypy-svn] r75526 - pypy/trunk/pypy/module/cpyext/test
arigo at codespeak.net
arigo at codespeak.net
Wed Jun 23 15:09:44 CEST 2010
Author: arigo
Date: Wed Jun 23 15:09:43 2010
New Revision: 75526
Modified:
pypy/trunk/pypy/module/cpyext/test/test_cpyext.py
Log:
Disable "-Werror=implicit-function-declaration" on e.g. Mac OS/X
in the test too.
Modified: pypy/trunk/pypy/module/cpyext/test/test_cpyext.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/test/test_cpyext.py (original)
+++ pypy/trunk/pypy/module/cpyext/test/test_cpyext.py Wed Jun 23 15:09:43 2010
@@ -160,7 +160,8 @@
kwds["compile_extra"] = ["/we4013"]
else:
kwds["link_files"] = [str(api_library + '.so')]
- kwds["compile_extra"] = ["-Werror=implicit-function-declaration"]
+ if sys.platform == 'linux2':
+ kwds["compile_extra"]=["-Werror=implicit-function-declaration"]
return compile_module(name, **kwds)
More information about the Pypy-commit
mailing list