[med-svn] r18589 - in trunk/packages/vsearch/trunk/debian: . tests

Andreas Tille tille at moszumanska.debian.org
Mon Jan 19 20:52:47 UTC 2015


Author: tille
Date: 2015-01-19 20:52:46 +0000 (Mon, 19 Jan 2015)
New Revision: 18589

Modified:
   trunk/packages/vsearch/trunk/debian/rules
   trunk/packages/vsearch/trunk/debian/tests/run-unit-test
   trunk/packages/vsearch/trunk/debian/vsearch-data.install
Log:
Fixes in data package to enable running full test suite


Modified: trunk/packages/vsearch/trunk/debian/rules
===================================================================
--- trunk/packages/vsearch/trunk/debian/rules	2015-01-19 19:00:42 UTC (rev 18588)
+++ trunk/packages/vsearch/trunk/debian/rules	2015-01-19 20:52:46 UTC (rev 18589)
@@ -39,7 +39,7 @@
 	dh_install
 	# tweak path tp vsearch binary in test scripts
 	mkdir -p $(CURDIR)/debian/$(pkg)-data/usr/share/doc/$(pkg)/test
-	for tst in test/*.sh ; do sed 's?VSEARCH=../src/vsearch?VSEARCH=/usr/bin/vsearch?' $${tst} > $(CURDIR)/debian/$(pkg)-data/usr/share/doc/$(pkg)/$${tst} ; done
+	for tst in test/*.sh ; do sed 's?\.\./src/vsearch?/usr/bin/vsearch?' $${tst} > $(CURDIR)/debian/$(pkg)-data/usr/share/doc/$(pkg)/$${tst} ; done
 
 get-orig-source:
 	uscan --verbose --force-download --repack --compression xz

Modified: trunk/packages/vsearch/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/vsearch/trunk/debian/tests/run-unit-test	2015-01-19 19:00:42 UTC (rev 18588)
+++ trunk/packages/vsearch/trunk/debian/tests/run-unit-test	2015-01-19 20:52:46 UTC (rev 18589)
@@ -6,7 +6,10 @@
 fi
 cd $ADTTMP
 mkdir -p data
-cd data && tar xaf /usr/share/doc/${pkg}/examples/simm.tar.gz
+cd data
+tar xaf /usr/share/doc/${pkg}/examples/simm.tar.gz
+cp -a /usr/share/doc/${pkg}/examples/[A-Z]* .
+gunzip BioMarKs50k* [PR]*.gz
 cd ..
 cp -a /usr/share/doc/${pkg}/test .
 cd test

Modified: trunk/packages/vsearch/trunk/debian/vsearch-data.install
===================================================================
--- trunk/packages/vsearch/trunk/debian/vsearch-data.install	2015-01-19 19:00:42 UTC (rev 18588)
+++ trunk/packages/vsearch/trunk/debian/vsearch-data.install	2015-01-19 20:52:46 UTC (rev 18589)
@@ -1,3 +1,6 @@
-data/simm.tar.gz	usr/share/doc/vsearch/examples
-data/Rfam_11_0.fasta    usr/share/doc/vsearch/examples
-data/BioMarKs50k.fsa    usr/share/doc/vsearch/examples
+data/simm.tar.gz		usr/share/doc/vsearch/examples
+data/BioMarKs50k.fsa		usr/share/doc/vsearch/examples
+data/BioMarKs.fsa.*		usr/share/doc/vsearch/examples
+data/PR2-18S-rRNA-V4.fsa*	usr/share/doc/vsearch/examples
+data/Rfam_11_0.*		usr/share/doc/vsearch/examples
+data/Rfam_9_1.fasta		usr/share/doc/vsearch/examples




More information about the debian-med-commit mailing list