[med-svn] [beagle] 03/06: Rework autopkgtest to simply update

Dylan Aïssi bob.dybian-guest at moszumanska.debian.org
Sat Jun 25 13:05:44 UTC 2016


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

bob.dybian-guest pushed a commit to branch master
in repository beagle.

commit 4975d546e8388cf21dc2b5f04111c2212307fd67
Author: Dylan Aïssi <bob.dybian at gmail.com>
Date:   Sat Jun 25 00:31:28 2016 +0200

    Rework autopkgtest to simply update
---
 debian/tests/run-sample-analysis | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/debian/tests/run-sample-analysis b/debian/tests/run-sample-analysis
index 73c4e78..dadde77 100755
--- a/debian/tests/run-sample-analysis
+++ b/debian/tests/run-sample-analysis
@@ -2,7 +2,7 @@
 # http://dep.debian.net/deps/dep8/
 # Autopkgtest: Test if beagle run analysis correctly
 # Author: Dylan Aïssi <bob.dybian at gmail.com>
-# Last-Update: 2016-03-20
+# Last-Update: 2016-06-17
 
 pkg=beagle
 if [ "$ADTTMP" = "" ] ; then
@@ -13,16 +13,18 @@ cp -a /usr/share/doc/${pkg}/examples/* $ADTTMP
 
 BEAGLE_TEST='java -jar /usr/share/beagle/beagle.jar'
 
+# Generate necessary files
+zcat test.vcf.gz | cut -f1-190 | tr '/' '|' | gzip > ref.vcf.gz
+zcat test.vcf.gz | cut -f1-9,191-200 | gzip > target.vcf.gz
+
 # Beagle with gt argument
-$BEAGLE_TEST gt=test.22Feb16.8ef.vcf.gz out=out.gt
+$BEAGLE_TEST gt=test.vcf.gz out=out.gt
 
 # Beagle with gl argument
-$BEAGLE_TEST gl=test.22Feb16.8ef.vcf.gz out=out.gl
+$BEAGLE_TEST gl=test.vcf.gz out=out.gl
 
 # Beagle with ref argument
-zcat test.22Feb16.8ef.vcf.gz | cut -f1-190 | tr '/' '|' | gzip > ref.22Feb16.8ef.vcf.gz
-zcat test.22Feb16.8ef.vcf.gz | cut -f1-9,191-200 | gzip > target.22Feb16.8ef.vcf.gz
-$BEAGLE_TEST ref=ref.22Feb16.8ef.vcf.gz gt=target.22Feb16.8ef.vcf.gz out=out.ref
+$BEAGLE_TEST ref=ref.vcf.gz gt=target.vcf.gz out=out.ref
 
 rm -f $ADTTMP/*
 

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



More information about the debian-med-commit mailing list