[Python-Dev] bsddb3 imported
Barry A. Warsaw
Tue, 19 Nov 2002 09:32:06 -0500
>>>>> "MvL" == Martin v Loewis <firstname.lastname@example.org> writes:
>> MvL> Barry wants the test suite to be incorporated also, this
>> will MvL> happen after we decide on the specifics.
>> The pybsddb test suite is too thorough to just throw away. I
>> was thinking we'd incorporate it, but run it only with a
>> regrtest -u option.
MvL> That sounds find. The other question is how to technically
MvL> incorporate the tests. They currently live in 14 files, plus
MvL> test_all, plus unittest. How am I supposed to arrange them
MvL> into the Python CVS? Make a single file? Make a subdirectory?
MvL> If so, how will regrtest.py find them? Put them all along
MvL> with the other tests?
Off the top of my head (because I have to run in a moment), create a
test/ subdir inside Lib/bsddb and drop the tests there. Hack
Lib/test/test_bsddb.py to run Lib/bsddb/test/testall.py when -u bsddb
I do something similar (w/o the -u) for the email pkg tests.