[Python-modules-commits] [python-backports-abc] 01/06: Run unit tests during build
Ondřej Nový
onovy at moszumanska.debian.org
Mon Aug 1 13:49:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository python-backports-abc.
commit c4665a804476d99bab1fe28b9693a2edbefd4c45
Author: Ondřej Nový <onovy at debian.org>
Date: Mon Aug 1 15:14:07 2016 +0200
Run unit tests during build
---
debian/changelog | 1 +
debian/rules | 3 +++
2 files changed, 4 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f9551b2..ca718e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ python-backports-abc (0.4-2) UNRELEASED; urgency=medium
* Fixed Vcs-* URLs
* d/control: Added Homepage field
+ * Run unit tests during build
-- Ondřej Nový <onovy at debian.org> Mon, 01 Aug 2016 14:56:03 +0200
diff --git a/debian/rules b/debian/rules
index b5bff00..b0e21f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,5 +2,8 @@
export PYBUILD_NAME=backports-abc
+export PYBUILD_BEFORE_TEST=cp {dir}/tests.py {build_dir}
+export PYBUILD_AFTER_TEST=rm -f {build_dir}/tests.py
+
%:
dh $@ --with python2 --buildsystem=pybuild
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-backports-abc.git
More information about the Python-modules-commits
mailing list