From 5f99e831aa1b1fd06111f1e2ad23571b17ad4fcc Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Sun, 4 May 2014 00:55:51 +0800 Subject: Now running unit tests at build time. --- debian/changelog | 1 + debian/rules | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 4d9eb58..77fa56b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ factory-boy (2.3.1-1) unstable; urgency=medium * New upstream release (Closes: #746631). * Standards-Version is now 3.9.5. + * Now running unit tests at build time. -- Thomas Goirand Sat, 03 May 2014 22:56:03 +0800 diff --git a/debian/rules b/debian/rules index c450391..99dbc84 100755 --- a/debian/rules +++ b/debian/rules @@ -8,3 +8,8 @@ include /usr/share/openstack-pkg-tools/pkgos.make %: dh $@ --with python2 --buildsystem=python_distutils + +override_dh_auto_test: +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) + python -W default setup.py test +endif -- cgit v1.2.3