[med-svn] r23784 - in trunk/packages/proda/trunk/debian: . tests

Nadiya Sitdykova rovenskasa-guest at moszumanska.debian.org
Wed Jun 7 01:19:00 UTC 2017


Author: rovenskasa-guest
Date: 2017-06-07 01:18:59 +0000 (Wed, 07 Jun 2017)
New Revision: 23784

Added:
   trunk/packages/proda/trunk/debian/README.test
   trunk/packages/proda/trunk/debian/docs
   trunk/packages/proda/trunk/debian/tests/
   trunk/packages/proda/trunk/debian/tests/control
   trunk/packages/proda/trunk/debian/tests/input.mfa
   trunk/packages/proda/trunk/debian/tests/run-unit-test
Modified:
   trunk/packages/proda/trunk/debian/changelog
Log:
Add autopkgtest test-suite

Added: trunk/packages/proda/trunk/debian/README.test
===================================================================
--- trunk/packages/proda/trunk/debian/README.test	                        (rev 0)
+++ trunk/packages/proda/trunk/debian/README.test	2017-06-07 01:18:59 UTC (rev 23784)
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+________________________________________
+
+This package can be tested by executing
+
+  sh run-unit-test
+
+in order to confirm its integrity.

Modified: trunk/packages/proda/trunk/debian/changelog
===================================================================
--- trunk/packages/proda/trunk/debian/changelog	2017-06-06 21:00:13 UTC (rev 23783)
+++ trunk/packages/proda/trunk/debian/changelog	2017-06-07 01:18:59 UTC (rev 23784)
@@ -1,3 +1,12 @@
+proda (1.0-11) unstable; urgency=medium
+
+  * Team upload.
+
+  [ Nadiya Sitdykova]
+  * Add autopkgtest test-suite
+
+ -- Nadiya Sitdykova <rovenskasa at gmail.com>  Tue, 06 Jun 2017 20:54:45 -0400
+
 proda (1.0-10) unstable; urgency=medium
 
   * Team upload.

Added: trunk/packages/proda/trunk/debian/docs
===================================================================
--- trunk/packages/proda/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/proda/trunk/debian/docs	2017-06-07 01:18:59 UTC (rev 23784)
@@ -0,0 +1,3 @@
+debian/tests/input.mfa
+debian/tests/run-unit-test
+debian/README.test

Added: trunk/packages/proda/trunk/debian/tests/control
===================================================================
--- trunk/packages/proda/trunk/debian/tests/control	                        (rev 0)
+++ trunk/packages/proda/trunk/debian/tests/control	2017-06-07 01:18:59 UTC (rev 23784)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr

Added: trunk/packages/proda/trunk/debian/tests/input.mfa
===================================================================
--- trunk/packages/proda/trunk/debian/tests/input.mfa	                        (rev 0)
+++ trunk/packages/proda/trunk/debian/tests/input.mfa	2017-06-07 01:18:59 UTC (rev 23784)
@@ -0,0 +1,23 @@
+>GRB2_HUMAN
+MEAIAKYDFKATADDELSFKRGDILKVLNEECDQNWYKAELNGKDGFIPKNYIEMKPHPW
+FFGKIPRAKAEEMLSKQRHDGAFLIRESESAPGDFSLSVKFGNDVQHFKVLRDGAGKYFL
+WVVKFNSLNELVDYHRSTSVSRNQQIFLRDIEQVPQQPTYVQALFDFDPQEDGELGFRRG
+DFIHVMDNSDPNWWKGACHGQTGMFPRNYVTPVNRNV
+>MATK_HUMAN
+MAGRGSLVSWRAFHGCDSAEELPRVSPRFLRAWHPPPVSARMPTRRWAPGTQCITKCEHT
+RPKPGELAFRKGDVVTILEACENKSWYRVKHHTSGQEGLLAAGALREREALSADPKLSLM
+PWFHGKISGQEAVQQLQPPEDGLFLVRESARHPGDYVLCVSFGRDVIHYRVLHRDGHLTI
+DEAVFFCNLMDMVEHYSKDKGAICTKLVRPKRKHGTKSAEEELARAGWLLNLQHLTLGAQ
+IGEGEFGAVLQGEYLGQKVAVKNIKCDVTAQAFLDETAVMTKMQHENLVRLLGVILHQGL
+YIVMEHVSKGNLVNFLRTRGRALVNTAQLLQFSLHVAEGMEYLESKKLVHRDLAARNILV
+SEDLVAKVSDFGLAKAERKGLDSSRLPVKWTAPEALKHGKFTSKSDVWSFGVLLWEVFSY
+GRAPYPKMSLKEVSEAVEKGYRMEPPEGCPGPVHVLMSSCWEAEPARRPPFRKLAEKLAR
+ELRSAGAPASVSGQDADGSTSPRSQEP
+>CRKL_HUMAN
+MSSARFDSSDRSAWYMGPVSRQEAQTRLQGQRHGMFLVRDSSTCPGDYVLSVSENSRVSH
+YIINSLPNRRFKIGDQEFDHLPALLEFYKIHYLDTTTLIEPAPRYPSPPMGSVSAPNLPT
+AEDNLEYVRTLYDFPGNDAEDLPFKKGEILVIIEKPEEQWWSARNKDGRVGMIPVPYVEK
+LVRSSPHGKHGNRNSNSYGIPEPAHAYAQPQTTTPLPAVSGSPGAAITPLPSTQNGPVFA
+KAIQKRVPCAYDKTALALEVGDIVKVTRMNINGQWEGEVNGRKGLFPFTHVKIFDPQNPD
+ENE
+

Added: trunk/packages/proda/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/proda/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/proda/trunk/debian/tests/run-unit-test	2017-06-07 01:18:59 UTC (rev 23784)
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+pkg=proda
+
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cd $ADTTMP
+
+cp -a /usr/share/doc/${pkg}/input.mfa .
+gunzip -r *
+
+proda -L 20 input.mfa > output.aln
+
+proda -posterior input.mfa > output.aln
+
+proda -silent input.mfa > output.aln
+
+proda -tran input.mfa > output.aln




More information about the debian-med-commit mailing list