[med-svn] [pysam] 02/02: Tests are now working in /var/lib/pysam
Andreas Tille
tille at debian.org
Tue Feb 11 13:47:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository pysam.
commit 024dee9e9766a517eda286088cfb0659c1f429de
Author: Andreas Tille <tille at debian.org>
Date: Tue Feb 11 14:50:18 2014 +0100
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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pysam.git
More information about the debian-med-commit
mailing list