[debhelper-devel] Bug#641314: debhelper: dh_auto_test should support standard python cli for running tests

Niels Thykier niels at thykier.net
Sun Sep 17 13:31:00 UTC 2017


On Wed, 14 Sep 2011 16:08:40 -0400 Joey Hess <joeyh at debian.org> wrote:
> Barry Warsaw wrote:
> > I'd be happy to write a little helper script (probably in Python?) which could
> > make the checks I enumerate above.  You could then call that script and use
> > the return code to see if you should do `python setup.py test -vv` or fallback
> > to what it does now.
> 
> I suppose that could be put in an appropriate package. Not sure what
> would be appropriate but not debhelper. And debhelper could use it. I'm
> not really thrilled by adding more heuristics. If you're working on this
> upstream it would be ever so much better if "python setup.py test"
> simply exited nonzero when there's no test suite.
> 
> -- 
> see shy jo

Hi Barry,

Is there an update to the situation here?  Can we assume that the test
target is (generally) always available ?  (even if we limit it to just
python3 related calls).

Thanks,
~Niels




More information about the debhelper-devel mailing list