[med-svn] [reapr] 02/11: revise test
Sascha Steinbiss
sascha at steinbiss.name
Thu Feb 25 11:12:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
sascha-guest pushed a commit to branch master
in repository reapr.
commit b489e20a05e828df7f5108c4bd9bfa6b1bd3d149
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date: Thu Feb 25 10:48:27 2016 +0000
revise test
---
debian/tests/test-example | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/debian/tests/test-example b/debian/tests/test-example
index 4e96957..624a7d5 100755
--- a/debian/tests/test-example
+++ b/debian/tests/test-example
@@ -3,11 +3,24 @@
# Author: Sascha Steinbiss <sascha at steinbiss.name>
set -e
-DATA=/usr/share/reapr-test
+ORIGDIR=$(pwd)
+DATADIR=$ORIGDIR/debian/tests/
WORKDIR=$(mktemp -d)
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR
-cp -rv /usr/share/reapr-test/* .
-./test.sh
+zcat $DATADIR/foo1.fasta.gz > foo1.fasta
+wgsim -d 2000 -N 10000 -1 120 -2 120 -S 42 \
+ foo1.fasta \
+ foofq.1.fastq \
+ foofq.2.fastq
+reapr smaltmap \
+ foo1.fasta \
+ foofq.1.fastq \
+ foofq.2.fastq \
+ out.bam
+reapr pipeline \
+ foo1.fasta \
+ out.bam \
+ result
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/reapr.git
More information about the debian-med-commit
mailing list