[med-svn] [python-ruffus] 02/03: Try running upstream test suite but failed - need to ask on Debian Python list
Andreas Tille
tille at debian.org
Mon Feb 2 10:15:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-ruffus.
commit 15e5f86ac940ca59af515536b4be360de698329b
Author: Andreas Tille <tille at debian.org>
Date: Mon Feb 2 11:13:51 2015 +0100
Try running upstream test suite but failed - need to ask on Debian Python list
---
debian/rules | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 941b829..5543d0f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,20 @@ override_dh_installdocs:
override_dh_sphinxdoc:
dh_sphinxdoc
find debian/$(docpkg)/usr/share/doc/$(docpkg)/html -type f -name "*.html" -exec sed -i 's?http://cdn.mathjax.org/mathjax/latest/?/usr/share/javascript/mathjax?g' \{\} \;
-# find debian/$(docpkg)/usr/share/doc/$(docpkg)/html/tutorials -type f -name "*.html" -exec sed -i 's?http://cdn.mathjax.org/mathjax/latest/?/usr/share/javascript/mathjax?g' \{\} \;
+
+override_dh_auto_test:
+### No idea why this fails :-(
+# LC_ALL=C.UTF-8 dh_auto_test -- --test --system=custom --test-args='set -e; cd ruffus/test; for tst in test*.py ; do {interpreter} $$tst ; done'
+### Try find ...
+ LC_ALL=C.UTF-8 dh_auto_test -- --test --system=custom --test-args='set -e; cd ruffus/test; find . -type f -name "test*.py" -exec {interpreter} \{\} \; ; done'
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf ruffus/test/temp_branching_dir \
+ ruffus/test/temp_filesre_combine \
+ ruffus/test/test_pausing_dir \
+ ruffus/test/.ruffus_history.sqlite \
+ ruffus/__pycache__
get-orig-source:
uscan --verbose --force-download --repack --compression xz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-ruffus.git
More information about the debian-med-commit
mailing list