[Python-modules-commits] [defusedxml] 11/12: Run tests during build.
Jelmer Vernooij
jelmer at moszumanska.debian.org
Sun Jul 2 14:34:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
jelmer pushed a commit to branch master
in repository defusedxml.
commit 28b226c25d9de90cb88c64290626c00fe1387727
Author: Jelmer Vernooij <jelmer at debian.org>
Date: Sun Jul 2 14:23:46 2017 +0000
Run tests during build.
---
debian/changelog | 1 +
debian/rules | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index abeb723..7a08d28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ defusedxml (0.5.0-1) UNRELEASED; urgency=medium
* debian/watch: properly handle RC releases.
* New upstream release.
* Add myself to uploaders.
+ * Run tests during build.
-- Jelmer Vernooij <jelmer at debian.org> Sun, 02 Jul 2017 14:19:56 +0000
diff --git a/debian/rules b/debian/rules
index 2a75007..0ef8b5b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,8 @@ export PYBUILD_NAME=defusedxml
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+ for PYTHON in $(shell pyversions -r) $(shell py3versions -r); do\
+ $$PYTHON ./tests.py; \
+ done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/defusedxml.git
More information about the Python-modules-commits
mailing list