[Distutils] [PATCH][setuptools] Add test_runner support to setup

Klaus Zimmermann klaus_zimmermann at gmx.de
Fri Apr 11 08:30:33 CEST 2008


Hi Phillip, *,

Am Sonntag, den 06.04.2008, 13:40 +0200 schrieb Klaus Zimmermann:
> Am Samstag, den 05.04.2008, 19:53 -0400 schrieb Phillip J. Eby:
> > At 05:15 PM 4/5/2008 +0200, Klaus Zimmermann wrote:
> > >Hi all,
> > >
> > >for our nightly build system I needed the capability to use a different
> > >test runner, namely one that outputs junit compatible xml files.
> > >In order to support that through the setup.py test command I hacked on
> > >setuptools.
> > >
> > >Is there a simpler way to do this?
> > >If not you might want to consider attached patch for addition
> > >(Should be against latest svn.)
> > 
> > Add documentation to the patch and you've got yourself a deal.  :)
> 
> Updated patch attached.
> Have fun,
> Klaus

was the patch satisfactory or is it still lacking?
Or do I need to do anything more for it to be applied?

On a side note: In the test.py command I noticed another option,
test-module, which, if I understand it correctly, is somewhat a
stripped-down, undocumented version of test-suite. Should it be
deprecated or removed?

Cheers,
Klaus



More information about the Distutils-SIG mailing list