From: Andreas Tille Date: Sat, 17 Feb 2018 15:04:59 +0000 (+0100) Subject: do not depend from non-existing data file in make test target X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~136 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=089b7cc482a8c15f1479e36b56a83379f6bfd1c1;p=python-pysam.git do not depend from non-existing data file in make test target --- diff --git a/debian/changelog b/debian/changelog index f528bdb..130016c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ python-pysam (0.14+ds-1) UNRELEASED; urgency=medium * cme fix dpkg-control * debhelper 11 * do not remove samtools/tmp_file.h in clean target + * do not depend from non-existing data file in make test target -- Andreas Tille Sat, 17 Feb 2018 15:24:34 +0100 diff --git a/debian/patches/series b/debian/patches/series index 4d62d6e..97110d9 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ execute-linking-tests-only-when-explicitely-reque.patch xfail.patch exclude_tests_accessing_remote_http.patch +skip_test_needing_missing_data.patch diff --git a/debian/patches/skip_test_needing_missing_data.patch b/debian/patches/skip_test_needing_missing_data.patch new file mode 100644 index 0000000..c203481 --- /dev/null +++ b/debian/patches/skip_test_needing_missing_data.patch @@ -0,0 +1,17 @@ +Description: do not depend from non-existing data file in make test target + (There is no such file example_reverse_complement.bam) +Author: Andreas Tille +Last-Update: Sat, 17 Feb 2018 15:24:34 +0100 + +--- a/tests/pysam_data/Makefile ++++ b/tests/pysam_data/Makefile +@@ -20,8 +20,7 @@ all: ex1.pileup.gz \ + explicit_index.bam explicit_index.cram \ + faidx_empty_seq.fq.gz \ + ex1.fa.gz ex1.fa.gz.csi \ +- ex1_csi.bam \ +- example_reverse_complement.bam ++ ex1_csi.bam + + # ex2.sam - as ex1.sam, but with header + ex2.sam.gz: ex1.bam ex1.bam.bai