[med-svn] r22074 - in trunk/packages/conservation-code/trunk/debian: . tests
Tatiana Malygina
latticetower-guest at moszumanska.debian.org
Thu Jun 2 01:19:48 UTC 2016
Author: latticetower-guest
Date: 2016-06-02 01:19:46 +0000 (Thu, 02 Jun 2016)
New Revision: 22074
Added:
trunk/packages/conservation-code/trunk/debian/tests/
trunk/packages/conservation-code/trunk/debian/tests/control
trunk/packages/conservation-code/trunk/debian/tests/installation-test
Modified:
trunk/packages/conservation-code/trunk/debian/changelog
trunk/packages/conservation-code/trunk/debian/control
Log:
add draft autopkgtest test
Modified: trunk/packages/conservation-code/trunk/debian/changelog
===================================================================
--- trunk/packages/conservation-code/trunk/debian/changelog 2016-06-01 22:48:34 UTC (rev 22073)
+++ trunk/packages/conservation-code/trunk/debian/changelog 2016-06-02 01:19:46 UTC (rev 22074)
@@ -1,3 +1,9 @@
+conservation-code (20110309.0-4.1) unstable; urgency=medium
+
+ * add draft autopkgtest
+
+ -- Tatiana Malygina <merlettaia at gmail.com> Thu, 02 Jun 2016 01:10:35 +0000
+
conservation-code (20110309.0-4) unstable; urgency=medium
* added myself to Uploaders
Modified: trunk/packages/conservation-code/trunk/debian/control
===================================================================
--- trunk/packages/conservation-code/trunk/debian/control 2016-06-01 22:48:34 UTC (rev 22073)
+++ trunk/packages/conservation-code/trunk/debian/control 2016-06-02 01:19:46 UTC (rev 22074)
@@ -3,6 +3,7 @@
Uploaders: Laszlo Kajan <lkajan at rostlab.org>,
Andreas Tille <tille at debian.org>
Section: science
+Testsuite: autopkgtest
Priority: optional
Build-Depends: debhelper (>= 9),
perl,
Added: trunk/packages/conservation-code/trunk/debian/tests/control
===================================================================
--- trunk/packages/conservation-code/trunk/debian/tests/control (rev 0)
+++ trunk/packages/conservation-code/trunk/debian/tests/control 2016-06-02 01:19:46 UTC (rev 22074)
@@ -0,0 +1,2 @@
+Tests: installation-test
+Depends: @
Property changes on: trunk/packages/conservation-code/trunk/debian/tests/control
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/packages/conservation-code/trunk/debian/tests/installation-test
===================================================================
--- trunk/packages/conservation-code/trunk/debian/tests/installation-test (rev 0)
+++ trunk/packages/conservation-code/trunk/debian/tests/installation-test 2016-06-02 01:19:46 UTC (rev 22074)
@@ -0,0 +1,22 @@
+#!/bin/sh
+# autopkgtest check: build and run with default test data, taken from package's readme.txt
+# Author: Tatiana Malygina <merlettaia at gmail.com>
+
+# Following line is commented, because in normal situation conservation-code
+# returns error code 1 (or 2), when it is called with less than 2 parameters:
+#set -e
+
+pkg=conservation-code
+
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+ trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cd $ADTTMP
+
+#this just shows help - and also returns error code 1 (because no alignment matrix can be found):
+score_conservation -h
+
+#the same error is produced by call
+score_conservation -m /usr/share/${pkg}/matrix/blosum62.bla 2plc__hssp-filtered.aln
Property changes on: trunk/packages/conservation-code/trunk/debian/tests/installation-test
___________________________________________________________________
Added: svn:executable
+ *
More information about the debian-med-commit
mailing list