On Tue, Mar 9, 2010 at 5:03 PM, Lisandro Dalcin <[email protected]> wrote: > Folks, I've been doing some housekeeping work in the testsuite to make > GCC warnings under control. In the process, I've added a few hacks to > remove warnings from unused stuff coming from NumPy headers. My fixes > work for NumPy 1.2.x and above, but I've not tested with older > versions... If anyone is running Cython testsuite with an older NumPy > and have any trouble, let me know and I'll fix things.
This is the output of my tests: ond...@crow:~/repos/cython-devel$ python runtests.py Running tests against Cython 0.12.1 Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55) [GCC 4.4.1] warning: /home/ondrej/repos/cython-devel/Cython/Runtime/refnanny.pyx:90:5: Unraisable exception in function 'refnanny.GOTREF'. warning: /home/ondrej/repos/cython-devel/Cython/Runtime/refnanny.pyx:103:5: Unraisable exception in function 'refnanny.GIVEREF_and_report'. warning: /home/ondrej/repos/cython-devel/Cython/Runtime/refnanny.pyx:129:5: Unraisable exception in function 'refnanny.FinishContext'. specmethdocstring.c:424: warning: ‘__pyx_doc_17specmethdocstring_1C___init__’ defined but not used specmethdocstring.c:446: warning: ‘__pyx_doc_17specmethdocstring_1C_3foo___get__’ defined but not used specmethdocstring.c:465: warning: ‘__pyx_doc_17specmethdocstring_1C_3foo___set__’ defined but not used specmethdocstring.cpp:424: warning: ‘__pyx_doc_17specmethdocstring_1C___init__’ defined but not used specmethdocstring.cpp:446: warning: ‘__pyx_doc_17specmethdocstring_1C_3foo___get__’ defined but not used specmethdocstring.cpp:465: warning: ‘__pyx_doc_17specmethdocstring_1C_3foo___set__’ defined but not used autotestdict.c:966: warning: ‘__pyx_doc_12autotestdict_11MyCdefClass___cinit__’ defined but not used autotestdict.c:988: warning: ‘__pyx_doc_12autotestdict_11MyCdefClass___dealloc__’ defined but not used autotestdict.c:1004: warning: ‘__pyx_doc_12autotestdict_11MyCdefClass___richcmp__’ defined but not used autotestdict.c:1024: warning: ‘__pyx_doc_12autotestdict_11MyCdefClass___nonzero__’ defined but not used autotestdict.cpp:966: warning: ‘__pyx_doc_12autotestdict_11MyCdefClass___cinit__’ defined but not used autotestdict.cpp:988: warning: ‘__pyx_doc_12autotestdict_11MyCdefClass___dealloc__’ defined but not used autotestdict.cpp:1004: warning: ‘__pyx_doc_12autotestdict_11MyCdefClass___richcmp__’ defined but not used autotestdict.cpp:1024: warning: ‘__pyx_doc_12autotestdict_11MyCdefClass___nonzero__’ defined but not used extpropertyref.c:416: warning: ‘__pyx_doc_14extpropertyref_4Spam_4eggs___get__’ defined but not used extpropertyref.cpp:416: warning: ‘__pyx_doc_14extpropertyref_4Spam_4eggs___get__’ defined but not used ---------------------------------------------------------------------- Ran 3206 tests in 478.458s OK ond...@crow:~/repos/cython-devel$ Is that the way to execute them? What are the warnings in there, those are innocent? Ondrej _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
