[med-svn] r15927 - in trunk/packages/flexbar/trunk/debian: . patches

Andreas Tille tille at moszumanska.debian.org
Fri Jan 31 12:31:49 UTC 2014


Author: tille
Date: 2014-01-31 12:31:49 +0000 (Fri, 31 Jan 2014)
New Revision: 15927

Modified:
   trunk/packages/flexbar/trunk/debian/changelog
   trunk/packages/flexbar/trunk/debian/patches/add_shebang_to_tests.patch
Log:
Make tests fail in case of errors


Modified: trunk/packages/flexbar/trunk/debian/changelog
===================================================================
--- trunk/packages/flexbar/trunk/debian/changelog	2014-01-31 12:19:04 UTC (rev 15926)
+++ trunk/packages/flexbar/trunk/debian/changelog	2014-01-31 12:31:49 UTC (rev 15927)
@@ -1,6 +1,8 @@
 flexbar (2.40-1) UNRELEASED; urgency=low
 
   * New upstream release
+  * Adapt quilt patches to new upstream + make sure test scripts will
+    fail on errors
   * debian/watch: adapt to upstream versioning scheme
   * debian/control:
      - Architecture any since upstream fixed build system for 32bit systems

Modified: trunk/packages/flexbar/trunk/debian/patches/add_shebang_to_tests.patch
===================================================================
--- trunk/packages/flexbar/trunk/debian/patches/add_shebang_to_tests.patch	2014-01-31 12:19:04 UTC (rev 15926)
+++ trunk/packages/flexbar/trunk/debian/patches/add_shebang_to_tests.patch	2014-01-31 12:31:49 UTC (rev 15927)
@@ -1,12 +1,13 @@
 Author: Andreas Tille <tille at debian.org>
 Date: Fri, 31 Jan 2014 12:55:18 +0100
-Description: Add shebang line for shell scripts
+Description: Add shebang line for shell scripts and make
+ scripts fail in case of errors
 
 --- a/test/flexbar_test_csfasta.sh
 +++ b/test/flexbar_test_csfasta.sh
 @@ -1,4 +1,4 @@
 -
-+#!/bin/sh
++#!/bin/sh -e
  flexbar --reads test.csfasta --target result_right --format csfasta --adapter-min-overlap 4 --adapters adapters_cs.fasta --min-read-length 10 --adapter-threshold 1 --adapter-trim-end RIGHT > /dev/null
  
  a=`diff correct_result_right.csfasta result_right.csfasta`
@@ -14,7 +15,7 @@
 +++ b/test/flexbar_test_csfastq.sh
 @@ -1,4 +1,4 @@
 -
-+#!/bin/sh
++#!/bin/sh -e
  flexbar --reads test.csfastq --target result_right --format csfastq --adapter-min-overlap 4 --adapters adapters_cs.fasta --min-read-length 10 --adapter-threshold 1 --adapter-trim-end RIGHT > /dev/null
  
  a=`diff correct_result_right.csfastq result_right.csfastq`
@@ -22,7 +23,7 @@
 +++ b/test/flexbar_test_fasta.sh
 @@ -1,4 +1,4 @@
 -
-+#!/bin/sh
++#!/bin/sh -e
  flexbar --reads test.fasta --target result_right --format fasta --adapter-min-overlap 4 --adapters adapters.fasta --min-read-length 10 --adapter-threshold 1 --adapter-trim-end RIGHT > /dev/null
  
  a=`diff correct_result_right.fasta result_right.fasta`
@@ -30,7 +31,7 @@
 +++ b/test/flexbar_test_fastq.sh
 @@ -1,4 +1,4 @@
 -
-+#!/bin/sh
++#!/bin/sh -e
  flexbar --reads test.fastq --target result_right --format fastq-i1.5 --adapter-min-overlap 4 --adapters adapters.fasta --min-read-length 10 --adapter-threshold 1 --adapter-trim-end RIGHT > /dev/null
  
  a=`diff correct_result_right.fastq result_right.fastq`
@@ -38,7 +39,7 @@
 +++ b/test/flexbar_validate.sh
 @@ -1,4 +1,4 @@
 -
-+#!/bin/sh
++#!/bin/sh -e
  echo ""
  
  echo "Testing fasta:"




More information about the debian-med-commit mailing list