[med-svn] [bowtie2] 04/05: Check DEB_BUILD_PROFILES against nocheck, strip trailing white spaces

Alex Mestiashvili malex-guest at moszumanska.debian.org
Wed Feb 7 23:08:38 UTC 2018


This is an automated email from the git hooks/post-receive script.

malex-guest pushed a commit to branch master
in repository bowtie2.

commit 2a78f1d17db8e5b37ffe894ac1c8d8558eeb7c27
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Wed Feb 7 23:08:57 2018 +0100

    Check DEB_BUILD_PROFILES against nocheck, strip trailing white spaces
---
 debian/rules                     | 2 ++
 debian/tests/indexing-ref-genome | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7bfce80..c747488 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,7 @@ override_dh_auto_build:
 	dh_auto_build -- EXTRA_FLAGS="-std=c++98 $(LDFLAGS)" $(EXTRA_OPTIONS)
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) EXTRA_FLAGS="-std=c++98 $(LDFLAGS)" $(EXTRA_OPTIONS) \
 	  bowtie2-build-s-debug \
 	  bowtie2-build-l-debug \
@@ -34,6 +35,7 @@ override_dh_auto_test:
 	  bowtie2-build-s-sanitized \
 	  bowtie2-build-l-sanitized
 	make -j1 test
+endif
 
 override_dh_auto_install:
 	dh_auto_install
diff --git a/debian/tests/indexing-ref-genome b/debian/tests/indexing-ref-genome
index 8a69c36..8dbfaa8 100755
--- a/debian/tests/indexing-ref-genome
+++ b/debian/tests/indexing-ref-genome
@@ -5,11 +5,11 @@ pkg=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
 examplesdir=/usr/share/doc/$pkg/examples
 WORKDIR=$(mktemp -d)
 cd $WORKDIR
-for file in reference/lambda_virus.fa.gz reads/reads_1.fq.gz 
+for file in reference/lambda_virus.fa.gz reads/reads_1.fq.gz
 do
 	extracted=`echo $file | awk -F/ '{print $NF}'`
         zcat $examplesdir/$file >${extracted%.gz}
 done
 
-bowtie2-build lambda_virus.fa lambda_virus >/dev/null 2>&1 
+bowtie2-build lambda_virus.fa lambda_virus >/dev/null 2>&1
 bowtie2 -x lambda_virus -U reads_1.fq -S eg1.sam >/dev/null 2>&1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bowtie2.git



More information about the debian-med-commit mailing list