[med-svn] [python-screed] 06/06: skip failing tests

Michael Crusoe misterc-guest at moszumanska.debian.org
Thu May 28 03:23:04 UTC 2015


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

misterc-guest pushed a commit to branch master
in repository python-screed.

commit 8269de482170268e1972fd86e42bad9ac0bd835c
Author: Michael R. Crusoe <mcrusoe at msu.edu>
Date:   Wed May 27 23:08:22 2015 -0400

    skip failing tests
---
 debian/rules               | 3 +++
 debian/tests/run-unit-test | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 9f74bf6..b102a6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,6 @@ export PYBUILD_NAME=screed
 
 %:
 	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_test:
+	dh_auto_test -- -s custom --test-args='{interpreter} setup.py nosetests --attr !known_failing'
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 440c420..b55f614 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -7,4 +7,4 @@ fi
 cd $ADTTMP
 
 cp -r /usr/lib/python2.7/dist-packages/screed/* .
-nosetests .
+nosetests --attr '!known_failing' .

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-screed.git



More information about the debian-med-commit mailing list