From: Andreas Tille Date: Tue, 11 Feb 2014 13:50:18 +0000 (+0100) Subject: Tests are now working in /var/lib/pysam X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~411 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=024dee9e9766a517eda286088cfb0659c1f429de;p=python-pysam.git Tests are now working in /var/lib/pysam --- diff --git a/debian/python-pysam-tests.postinst b/debian/python-pysam-tests.postinst index 4bbaf1c..b9d63dd 100644 --- a/debian/python-pysam-tests.postinst +++ b/debian/python-pysam-tests.postinst @@ -5,8 +5,7 @@ set -e case "$1" in configure) chmod a+w /var/lib/pysam/tests - chmod a+w /var/lib/pysam/tests/*.sam* - chmod a+w /var/lib/pysam/tests/pysam_test_work + chmod a+w /var/lib/pysam/tests/*.[bs]am* ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/debian/rules b/debian/rules index 659bc1d..87fa96b 100755 --- a/debian/rules +++ b/debian/rules @@ -36,7 +36,10 @@ endif override_dh_install-indep: dh_install -p $(TESTPKG) - cd debian/$(TESTPKG)/var/lib/pysam; make clean + cd debian/$(TESTPKG)/var/lib/pysam/tests; \ + make clean; \ + rm -f log.txt ; \ + chmod a+x tabix_test.py override_dh_auto_clean: dh_auto_clean