[med-svn] [Git][med-team/plink2][master] 2 commits: Fix autopkgtest
Dylan Aïssi
gitlab at salsa.debian.org
Fri Dec 6 21:35:57 GMT 2019
Dylan Aïssi pushed to branch master at Debian Med / plink2
Commits:
ec82585d by Dylan Aïssi at 2019-12-06T21:25:06Z
Fix autopkgtest
- - - - -
ff817ba6 by Dylan Aïssi at 2019-12-06T21:30:33Z
Upload to NEW
- - - - -
2 changed files:
- debian/changelog
- debian/tests/run-sample-analysis
Changes:
=====================================
debian/changelog
=====================================
@@ -1,7 +1,5 @@
-plink2 (2.00~a2-191128+dfsg-1) UNRELEASED; urgency=medium
+plink2 (2.00~a2-191128+dfsg-1) unstable; urgency=medium
* Initial release. (Closes: #858947)
- * TODO:
- - add autopkgtest
- -- Dylan Aïssi <daissi at debian.org> Wed, 20 Nov 2019 07:00:08 +0100
+ -- Dylan Aïssi <daissi at debian.org> Fri, 06 Dec 2019 22:28:40 +0100
=====================================
debian/tests/run-sample-analysis
=====================================
@@ -6,17 +6,10 @@ if [ "$AUTOPKGTEST_TMP" = "" ] ; then
AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $AUTOPKGTEST_TMP
-cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
-PLINK2_TEST='plink2 --file toy'
-
-# Allele frequencies
-$PLINK2_TEST --freq
-diff plink.frq expected.plink.frq
-
-# Case/control or QTL association
-$PLINK2_TEST --assoc
-diff plink.assoc expected.plink.assoc
+plink2 --dummy 33 65537 0.1 dosage-freq=0.1 --out tmp_data
+plink2 --pfile tmp_data --export vcf vcf-dosage=DS --out tmp_data2
+plink2 --vcf tmp_data2.vcf dosage=DS --out tmp_data2
rm -f $AUTOPKGTEST_TMP/*
View it on GitLab: https://salsa.debian.org/med-team/plink2/compare/4d31a54fed36ec2a2d3db3e87aad44d45b6c1c0f...ff817ba6026d5d6a4e045a47e2efee5a2eb24c1f
--
View it on GitLab: https://salsa.debian.org/med-team/plink2/compare/4d31a54fed36ec2a2d3db3e87aad44d45b6c1c0f...ff817ba6026d5d6a4e045a47e2efee5a2eb24c1f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191206/393e0411/attachment-0001.html>
More information about the debian-med-commit
mailing list