Bug#641314: debhelper: dh_auto_test should support standard python cli for running tests

2017-09-17 Thread Barry Warsaw
Hi Niels, > On Sep 17, 2017, at 09:31, Niels Thykier wrote: > 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). No, I don’t have any update to this. I am

Bug#641314: debhelper: dh_auto_test should support standard python cli for running tests

2017-09-17 Thread Niels Thykier
On Wed, 14 Sep 2011 16:08:40 -0400 Joey Hess 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

Bug#641314: debhelper: dh_auto_test should support standard python cli for running tests

2011-09-14 Thread Joey Hess
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

Bug#641314: debhelper: dh_auto_test should support standard python cli for running tests

2011-09-12 Thread Barry Warsaw
Package: debhelper Version: 8.9.6 Severity: wishlist -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dear Maintainer, The standard for running a Python package's test suite is $ python setup.py test with possible, multiple -v options for increased verbosity. In Python 3.3, or with

Bug#641314: debhelper: dh_auto_test should support standard python cli for running tests

2011-09-12 Thread Joey Hess
Barry Warsaw wrote: The standard for running a Python package's test suite is $ python setup.py test How standard? Ie, I picked a random python package,aand: joey@gnu:~/tmp/python-mpd-0.3.0python setup.py test usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or:

Bug#641314: debhelper: dh_auto_test should support standard python cli for running tests

2011-09-12 Thread Barry Warsaw
On Sep 12, 2011, at 12:17 PM, Joey Hess wrote: How standard? Ie, I picked a random python package,aand: joey@gnu:~/tmp/python-mpd-0.3.0python setup.py test usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands

Bug#641314: debhelper: dh_auto_test should support standard python cli for running tests

2011-09-12 Thread Joey Hess
Barry Warsaw wrote: Right, setuptools/distutils supports it by default, though it requires a `test_suite` parameter in setup(). That's a long way from being supported by default. Could you get back to me when enough python module packages support it that if I turned it on in debhelper compat

Bug#641314: debhelper: dh_auto_test should support standard python cli for running tests

2011-09-12 Thread Barry Warsaw
On Sep 12, 2011, at 04:39 PM, Joey Hess wrote: Barry Warsaw wrote: Right, setuptools/distutils supports it by default, though it requires a `test_suite` parameter in setup(). That's a long way from being supported by default. Could you get back to me when enough python module packages support