* Prach Pongpanich <prach...@gmail.com>, 2013-04-12, 15:16:
I hope lintian4python will soon move to sid. :-)

Certainly not before wheezy is released. :)

Any reason for not running tests at build time? Tests love begin run!

Enable run tests at build time.

+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+       set -e ; for pyversion in $(shell pyversions -vr); do
nosetests-$$pyversion -v; done
+endif

I'd rather not rely on existence of nosetests-2.X scripts[0], and use this instead:
... do python$$pyversion /usr/bin/nosetests -v; done


[0] For example, the only versioned script in squeeze's nose is nosetests-2.5, despite the fact that both 2.5 and 2.6 are supported versions.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130413233314.gb5...@jwilk.net

Reply via email to