This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients brett.cannon, eric.araujo, r.david.murray, rhettinger, sandro.tosi
Date 2011-01-25.22:54:33
SpamBayes Score 1.1226295e-09
Marked as misclassified No
Message-id <1295996074.53.0.0953552154006.issue10848@psf.upfronthosting.co.za>
In-reply-to
Content
I would say writing tests for regrtest is going to be a somewhat tricky task.  I think you will have to do some code tweaking to even be able to run certain tests.  I believe that regrtest currently has some built in assumptions about the test directory (ie: that it is Lib/test), even though the regrtest main program provides a testdir argument.  So the first task is probably going to be getting that argument to actually work, and then exposing a way to set it at the regrtest command level (or, alternatively, moving all command functionality out of __main__ and into main).  Once you have that, your test suite can programatically generate a test test-directory and populate it with whatever files you need for each test, using the utilities in test.script_helper.
History
Date User Action Args
2011-01-25 22:54:34r.david.murraysetrecipients: + r.david.murray, brett.cannon, rhettinger, eric.araujo, sandro.tosi
2011-01-25 22:54:34r.david.murraysetmessageid: <1295996074.53.0.0953552154006.issue10848@psf.upfronthosting.co.za>
2011-01-25 22:54:33r.david.murraylinkissue10848 messages
2011-01-25 22:54:33r.david.murraycreate