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

Phillip J. Eby pje at telecommunity.com
Fri Apr 11 18:01:33 CEST 2008


At 08:30 AM 4/11/2008 +0200, Klaus Zimmermann wrote:
>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?

It's sitting in my folder of patches to eventually 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?

Probably, but not in the 0.6 line.



More information about the Distutils-SIG mailing list