do not depend from non-existing data file in make test target
authorAndreas Tille <tille@debian.org>
Sat, 17 Feb 2018 15:04:59 +0000 (16:04 +0100)
committerAndreas Tille <tille@debian.org>
Sat, 17 Feb 2018 15:04:59 +0000 (16:04 +0100)
debian/changelog
debian/patches/series
debian/patches/skip_test_needing_missing_data.patch [new file with mode: 0644]

index f528bdb2c1d3fbe55266077b3f00baa513aa89ac..130016c35bac1471f833b778e099518f44cf90d2 100644 (file)
@@ -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 <tille@debian.org>  Sat, 17 Feb 2018 15:24:34 +0100
 
index 4d62d6ea377fd02bf9a7b3f097a847f5a644cd77..97110d91d3f2e66b30ad82d38038e71aedcce3c4 100644 (file)
@@ -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 (file)
index 0000000..c203481
--- /dev/null
@@ -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 <tille@debian.org>
+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