find . -name "tmp_*" -delete
find . -name "*.bai*" -delete
find . -name "*.cram*" -delete
+ find . -name "*.bam" -delete
rm -rf tests/pysam_test_work \
tests/example_htslib.gtf.gz.tbi \
tests/log.txt \
tests/test.bam \
tests/_compile_test.c \
+ tests/pysam_ex2.sam \
pysam/calignmentfile.c \
pysam/cbcf.c
override_dh_auto_test:
+ # Tests are stumbling upon missing ex1.bam file ...
+ ln -s pysam_data/ex1.bam tests
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="cd tests && make -C pysam_data && if [ {version} = 2.7 ] ; then echo ""This should be 2.7 / python2.7: {version} / {interpreter}"" ; nosetests -s -v ; else echo ""This should be 3 / python3.4: {version} / {interpreter}"" ; nosetests3 -s -v ; fi" dh_auto_test || \
echo "Ignoring test failures"
+ # remove ex1.bam that was created above
+ rm -f tests/ex1.bam
get-orig-source:
uscan --verbose --force-download --repack --compression xz