[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#705237: RFS: python-heatclient/0.2.2-1 [ITP] -- client library and CLI for OpenStack Heat



* Prach Pongpanich <prachpub@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


Reply to: