[med-svn] [Git][med-team/nim-hts][master] Addressed hickups for tests in cowbuilder

Steffen Möller gitlab at salsa.debian.org
Sun Nov 1 04:29:53 GMT 2020



Steffen Möller pushed to branch master at Debian Med / nim-hts


Commits:
2850046b by Steffen Möller at 2020-11-01T05:29:20+01:00
Addressed hickups for tests in cowbuilder

- - - - -


4 changed files:

- debian/control
- + debian/patches/dontDoNestedTests.patch
- + debian/patches/series
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -5,7 +5,8 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Steffen Moeller <moeller at debian.org>,
            Debian Nim Team <team+nim at tracker.debian.org>
 Build-Depends: debhelper-compat (= 13),
-               nim
+               nim,
+               libhts-dev
 Standards-Version: 4.5.0
 Homepage: https://github.com/brentp/hts-nim
 Vcs-Browser: https://salsa.debian.org/med-team/nim-hts
@@ -14,7 +15,8 @@ Rules-Requires-Root: no
 
 Package: nim-hts-dev
 Architecture: all
-Depends: ${misc:Depends}, nim, nim-unicodedb-dev, nim-unicodeplus-dev
+Depends: ${misc:Depends}, nim
+Recommends: libhts3
 Description: wrapper for hts C library
  The hts library is well accepted for the handling of millions of
  DNA sequences from what once was the high-throughput sequencing machines


=====================================
debian/patches/dontDoNestedTests.patch
=====================================
@@ -0,0 +1,8 @@
+Index: nim-hts/tests/all.nim
+===================================================================
+--- nim-hts.orig/tests/all.nim
++++ nim-hts/tests/all.nim
+@@ -1,2 +1,2 @@
+ {. warning[UnusedImport]:off .}
+-import flagtest, cigartest, htstest, bgzftest, faitest, auxtest, vcftest, bamtest, statstests, vcfiso, test_files, test_readme
++import flagtest, cigartest, htstest, bgzftest, faitest, auxtest, vcftest, bamtest, statstests, vcfiso, test_files


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+dontDoNestedTests.patch


=====================================
debian/rules
=====================================
@@ -17,7 +17,7 @@ override_dh_auto_test:
 	#tests/bamtest
 	#nim c tests/bgzftest.nim
 	#tests/bgzftest
-	nim c tests/all.nim
+	nim c --nimcache:$(CURDIR)/tests/nimcache tests/all.nim
 	tests/all
 
 
@@ -25,6 +25,6 @@ override_dh_auto_clean:
 	dh_auto_clean
 	# remnants from testing
 	rm -f ____t.vcf t.gz ti.txt.gz ti.txt.gz.csi
-	rm -f tests/run tests/HG02002.bam.csi tests/auxtest tests/newsample.vcf tests/outmissing.vcf tests/outv.vcf tests/outz.vcf tests/sample.fa.fai
-
+	rm -f tests/run tests/HG02002.bam.csi tests/auxtest tests/newsample.vcf tests/outmissing.vcf tests/outv.vcf tests/outz.vcf tests/sample.fa.fai tests/all tests/htstest tests/bgzftest tests/bamtest
+	rm -rf tests/nimcache
 



View it on GitLab: https://salsa.debian.org/med-team/nim-hts/-/commit/2850046bf259eb0f44931d044583d4cbb4f5a32a

-- 
View it on GitLab: https://salsa.debian.org/med-team/nim-hts/-/commit/2850046bf259eb0f44931d044583d4cbb4f5a32a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20201101/abdece41/attachment-0001.html>


More information about the debian-med-commit mailing list