On Aug 27, 2013, at 09:10 PM, Piotr Ożarowski wrote: >[Barry Warsaw, 2013-08-27] >> Dear Maintainer, > >Hi Barry :)
Yay for reportbug! :) >> If there's a tox.ini file found, pybuild --test should prefer to run >> tox for the tests. > >this requires additional build dependency (python-tox) so I will add >--test-tox (and PYBUILD_TEST_TOX env. var., the same way I added >--test-nose and --test-pytest) and let maintainers enable it if they >want instead of FTBFS when /usr/bin/tox is missing (i.e. I don't think >enabling it by default is a good idea, especially since popcon suggests >that there are not that many users use python-tox package) I wouldn't expect too many users of python-tox yet, as it's new with jessie, but I think it's fine to postpone auto-detection for now. A --test-tox option/envar/etc would still be a great addition. The trick is getting the -e value correct, since by default tox wants to run against all environments named in the tox.ini file, although it does a fine job now of ignoring missing environments (e.g. python 2.6 or 3.2). I tried to write an override_dh_auto_test for my nose2 package that passed the right `-e pyXY` but have so far failed, so #721068 is would also be important to solve I think. Thanks for adding this! Of all the test runners available to Python, tox is one of my favorites. :)
signature.asc
Description: PGP signature