[med-svn] [python-pysam] 04/05: Refine testing in d/rules

Afif Elghraoui afif-guest at moszumanska.debian.org
Sat Nov 14 07:36:07 UTC 2015


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

afif-guest pushed a commit to branch master
in repository python-pysam.

commit 50cc7a0ddaf19dd10b4c3571ede5804658a95b5e
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Fri Nov 13 23:31:43 2015 -0800

    Refine testing in d/rules
---
 debian/rules | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index fba8637..126c2b5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,16 +27,9 @@ override_dh_auto_test:
 	# dh_auto_test	# unfortunately this does not work out of the box
 			# see https://lists.debian.org/debian-python/2015/07/msg00064.html
 			# thus trying manually with unusual tricks
-	# For some strange reasons the extension of so files in Python 3.4
-	# build tree are named .cpython-34m.so and thus will not be found
-	# by the test scripts.  For the moment set some symlinks here to
-	# enable running the test suite
-	for so in `find .pybuild -name "*.cpython-34m.so"` ; do sso=`echo $${so} | sed 's/.cpython-34m//'`; ln -s `basename $${so}` $${sso} ; done
 	PYBUILD_SYSTEM=custom \
 	PYBUILD_TEST_ARGS="cd tests && if [ {version} = 2.7 ] ; then nosetests -s ; else nosetests3 -s -v ; fi" dh_auto_test || \
 		echo "Ignoring test failures"
-	# The so-symlinks above need to be removed - otherwise dh_python3 will fail
-	find .pybuild -type l -name "*.so" -delete
 
 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-pysam.git



More information about the debian-med-commit mailing list