R. David Murray <rdmur...@bitdance.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10848>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to