[med-svn] r17944 - trunk/packages/bowtie/trunk/debian/tests

Andreas Tille tille at moszumanska.debian.org
Fri Sep 5 09:30:34 UTC 2014


Author: tille
Date: 2014-09-05 09:30:33 +0000 (Fri, 05 Sep 2014)
New Revision: 17944

Added:
   trunk/packages/bowtie/trunk/debian/tests/example5.out.diff
Modified:
   trunk/packages/bowtie/trunk/debian/tests/example5.out
   trunk/packages/bowtie/trunk/debian/tests/run-unit-test
Log:
Reflect discussion on Debian Med list about unit testing


Modified: trunk/packages/bowtie/trunk/debian/tests/example5.out
===================================================================
--- trunk/packages/bowtie/trunk/debian/tests/example5.out	2014-09-05 08:46:47 UTC (rev 17943)
+++ trunk/packages/bowtie/trunk/debian/tests/example5.out	2014-09-05 09:30:33 UTC (rev 17944)
@@ -1,5 +1,5 @@
 -	gi|110640213|ref|NC_008253.1|	2852852	8:T>A
+-	gi|110640213|ref|NC_008253.1|	148810	10:A>G,13:C>G
 +	gi|110640213|ref|NC_008253.1|	1093035	2:T>G,15:A>T
 -	gi|110640213|ref|NC_008253.1|	905664	6:A>G,7:G>T
--	gi|110640213|ref|NC_008253.1|	148810	10:A>G,13:C>G
 -	gi|110640213|ref|NC_008253.1|	4930433	4:G>T,6:C>G

Added: trunk/packages/bowtie/trunk/debian/tests/example5.out.diff
===================================================================
--- trunk/packages/bowtie/trunk/debian/tests/example5.out.diff	                        (rev 0)
+++ trunk/packages/bowtie/trunk/debian/tests/example5.out.diff	2014-09-05 09:30:33 UTC (rev 17944)
@@ -0,0 +1,13 @@
+Please read README.Debian or the discussion at
+   https://lists.debian.org/debian-med/2014/09/msg00031.html
+about this difference
+
+--- example5.out.orig	2014-09-03 11:27:25.000000000 +0200
++++ example5.out	2014-09-03 12:16:13.612777963 +0200
+@@ -1,5 +1,5 @@
+ -	gi|110640213|ref|NC_008253.1|	2852852	8:T>A
++-	gi|110640213|ref|NC_008253.1|	148810	10:A>G,13:C>G
+ +	gi|110640213|ref|NC_008253.1|	1093035	2:T>G,15:A>T
+ -	gi|110640213|ref|NC_008253.1|	905664	6:A>G,7:G>T
+--	gi|110640213|ref|NC_008253.1|	148810	10:A>G,13:C>G
+ -	gi|110640213|ref|NC_008253.1|	4930433	4:G>T,6:C>G

Modified: trunk/packages/bowtie/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/bowtie/trunk/debian/tests/run-unit-test	2014-09-05 08:46:47 UTC (rev 17943)
+++ trunk/packages/bowtie/trunk/debian/tests/run-unit-test	2014-09-05 09:30:33 UTC (rev 17944)
@@ -33,9 +33,13 @@
 bowtie -v 2 e_coli --suppress 1,5,6,7 -c ATGCATCATGCGCCAT				> example4.out
 check_result example4
 bowtie -a --best -v 2 e_coli --suppress 1,5,6,7 -c ATGCATCATGCGCCAT			> example5.out
+# Please read README.Debian or
+#   https://lists.debian.org/debian-med/2014/09/msg00031.html
+# to evaluate the result od this test.
 # check_result example5
-echo "There is a known difference between the manual and the test result"
-diff -u tests/example5.out example5.out
+# echo "There is a known difference between the manual and the test result"
+# diff -u tests/example5.out example5.out
+check_result example5
 bowtie -a --best --strata -v 2 --suppress 1,5,6,7 e_coli -c ATGCATCATGCGCCAT		> example6.out
 check_result example6
 # The "No alignments" string is the end of stderr output




More information about the debian-med-commit mailing list