-python-pysam (0.7.5-3) UNRELEASED; urgency=medium
+python-pysam (0.7.5-3) unstable; urgency=medium
* Do not install tests in world writable dir
+ Closes: #739575
-- Andreas Tille <tille@debian.org> Sat, 01 Mar 2014 23:40:21 +0100
================
To verify whether your python-pysam modules are working correctly
-you can run the test suite manually via
+you can run the test suite manually by running the script
- cp -a /usr/share/doc/python-pysam/tests /tmp
- cd /tmp/tests
- gunzip -r *
- ./pysam_test.py
+ run-unit-test
+
+in this directory.
-- Andreas Tille <tille@debian.org> Fri, 07 Feb 2014 18:29:40 +0100
--- /dev/null
+debian/tests/run-unit-test
#!/bin/sh -e
-cp -a /usr/share/doc/python-pysam/tests /tmp
-cd /tmp/tests
+TMPDIR=`mktemp -d /tmp/python-pysam-test.XXXXXX`
+cp -a /usr/share/doc/python-pysam/tests/* $TMPDIR
+cd $TMPDIR
gunzip -r *.py.gz \
ex10.bam.gz \
ex9_fail.bam.gz \