From 024dee9e9766a517eda286088cfb0659c1f429de Mon Sep 17 00:00:00 2001 From: Andreas Tille Date: Tue, 11 Feb 2014 14:50:18 +0100 Subject: [PATCH] Tests are now working in /var/lib/pysam --- debian/python-pysam-tests.postinst | 3 +-- debian/rules | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) 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 -- 2.30.2