[Python-modules-commits] [python-slimmer] 06/12: Run the test suite and include test data missing in the upstream tarball

Jan Dittberner jandd at moszumanska.debian.org
Sun Jan 3 20:53:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

jandd pushed a commit to branch master
in repository python-slimmer.

commit 0ee987b394f3b7fc833aa4f5e2f9a71420605d72
Author: Jan Dittberner <jandd at debian.org>
Date:   Sun Jan 3 21:16:52 2016 +0100

    Run the test suite and include test data missing in the upstream tarball
---
 debian/changelog | 1 +
 debian/rules     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8e42f24..75fff9e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ python-slimmer (0.1.30-7) UNRELEASED; urgency=low
   * run wrap-and-sort
   * switch to pybuild, add dh-python to Build-Depends, add X-Python3-
     Version, change debian/rules
+  * Run the test suite and include test data missing in the upstream tarball
 
  -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 18:40:56 +0200
 
diff --git a/debian/rules b/debian/rules
index 40c0b1c..9c851c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=slimmer
+export PYBUILD_BEFORE_TEST=cp {dir}/slimmer/tests/*.html {build_dir}/slimmer/tests/
 
 %:
 	dh $@ --with python2,python3 --buildsystem pybuild

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-slimmer.git



More information about the Python-modules-commits mailing list