summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules5
2 files changed, 6 insertions, 0 deletions
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 <zigo@debian.org> 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