[Patches] [Patch #101162] a Python/C API testing framework (simple simple)
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 29 Jan 2001 12:51:33 -0800
Patch #101162 has been updated.
Project: python
Category: Build
Status: Open
Submitted by: tmick
Assigned to : tim_one
Summary: a Python/C API testing framework (simple simple)
Follow-Ups:
Date: 2001-Jan-29 12:51
By: akuchling
Comment:
Assuming that the _test module doesn't need anything special
to compile (and why should it?), the change to setup.py is simple,
adding the following line:
exts.append( Extension('_test', ['_testmodule.c']) )
-------------------------------------------------------
Date: 2001-Jan-25 05:37
By: nobody
Comment:
This patch needs to be modified to use setup.py rather then Makefile.pre.in
-------------------------------------------------------
Date: 2000-Aug-11 13:37
By: tmick
Comment:
Here is a proposed patch for a Python/C API testing framework. Simple
simple.
Basic Overview:
- add a _test C extension module that exports test functions beginning
with
'test_'; NULL and a TestError exception indicates a test failure and
Py_None indicate a test pass
- add a test_capi.py test module that calls each of the 'test_' exported
functions in the '_test' module
- changes to the build system files for Win32 and Unix are includes to
build
_testmodule.c as a shared extension
- new files: Lib/test/test_capi.py, Lib/test/output/test_capi,
Modules/_testmodule.c, and PCbuild/_test.dsp
-------------------------------------------------------
Date: 2000-Aug-11 13:48
By: tmick
Comment:
don't use C++ style comments
-------------------------------------------------------
Date: 2000-Aug-12 13:46
By: tmick
Comment:
Skip,
You seemed to have some interest in this the couple of times it came up on
python-dev. I wonder if you might want to review this. No rush, I don't
expect this to go in anytime soon. Unless, of course, people just *have* to
have it. <wink>
-------------------------------------------------------
Date: 2000-Aug-15 15:23
By: tim_one
Comment:
Sorry, but there is a rush! Since Python 2.0 is scheduled to have only 1
beta cycle, if this doesn't make it into the beta (< 2 weeks, according to
the schedule), it's for 2.1 at best. It would be very good to have a start
at this (no matter how simple) in place for 2.0.
-------------------------------------------------------
Date: 2000-Aug-16 12:05
By: tmick
Comment:
re: delaying to 2.1:
doesn't bother me much
Should it now be "postponed", Tim?
-------------------------------------------------------
Date: 2000-Aug-21 19:54
By: montanaro
Comment:
postponed until 2.1
-------------------------------------------------------
Date: 2000-Nov-27 07:47
By: gvanrossum
Comment:
Randomly reassigned for review now that 2.1 is open and Skip seems to be
too busy to look at this.
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=101162&group_id=5470