On Oct 19, 2011, at 07:49 AM, Vincent Bernat wrote: >You should not run test against the source package. Instead, you should run >tests against the yet-to-be-installed version. You need to use a wrapper for >this. I don't know if this is the best example available but it works : > >http://anonscm.debian.org/viewvc/python-modules/packages/cerealizer/trunk/debian/runtests.py?view=markup >http://anonscm.debian.org/viewvc/python-modules/packages/cerealizer/trunk/debian/rules?view=markup
Requiring this kind of boilerplate to be cargo-culted into all your packages is definitely not fun. dh_auto_test really should make the recommended best-practices automatic. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641314 http://article.gmane.org/gmane.comp.python.testing.general/4379 Cheers, -Barry -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111019142818.386db...@resist.wooz.org