[med-svn] r18564 - in trunk/packages/plink/trunk/debian: . tests
Dylan Aïssi
bob.dybian-guest at moszumanska.debian.org
Sun Jan 11 10:22:06 UTC 2015
Author: bob.dybian-guest
Date: 2015-01-11 10:22:04 +0000 (Sun, 11 Jan 2015)
New Revision: 18564
Modified:
trunk/packages/plink/trunk/debian/examples
trunk/packages/plink/trunk/debian/tests/run-sample-analysis
Log:
Fixed autopkgtest
Modified: trunk/packages/plink/trunk/debian/examples
===================================================================
--- trunk/packages/plink/trunk/debian/examples 2015-01-11 10:17:13 UTC (rev 18563)
+++ trunk/packages/plink/trunk/debian/examples 2015-01-11 10:22:04 UTC (rev 18564)
@@ -3,4 +3,4 @@
test.map
# Expected outputs for autopkgtest
-debian/output_tests
+debian/output_tests/*
Modified: trunk/packages/plink/trunk/debian/tests/run-sample-analysis
===================================================================
--- trunk/packages/plink/trunk/debian/tests/run-sample-analysis 2015-01-11 10:17:13 UTC (rev 18563)
+++ trunk/packages/plink/trunk/debian/tests/run-sample-analysis 2015-01-11 10:22:04 UTC (rev 18564)
@@ -2,21 +2,23 @@
# http://dep.debian.net/deps/dep8/
# Autopkgtest: Test if plink run analysis correctly
# Author: Dylan Aïssi <bob.dybian at gmail.com>
-# Last-Update: 2015-01-10
+# Last-Update: 2015-01-11
pkg=plink
if [ "$ADTTMP" = "" ] ; then
ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $ADTTMP
-cp -a /usr/share/doc/${pkg}/examples/output_tests/* $ADTTMP
+cp -a /usr/share/doc/${pkg}/examples/* $ADTTMP
+PLINK_TEST='plink --noweb --file test'
+
# Allele frequencies
-plink --noweb --file test --freq
+$PLINK_TEST --freq
diff plink.frq expected.plink.frq
# Case/control or QTL association
-plink --noweb --file test --assoc
+$PLINK_TEST --assoc
diff plink.assoc expected.plink.assoc
rm -f $ADTTMP/*
More information about the debian-med-commit
mailing list