[med-svn] r22374 - in trunk/packages/rostlab/profisis/trunk/debian: . tests

Tatiana Malygina latticetower-guest at moszumanska.debian.org
Tue Jul 5 13:10:30 UTC 2016


Author: latticetower-guest
Date: 2016-07-05 13:10:29 +0000 (Tue, 05 Jul 2016)
New Revision: 22374

Added:
   trunk/packages/rostlab/profisis/trunk/debian/README.test
   trunk/packages/rostlab/profisis/trunk/debian/docs
Modified:
   trunk/packages/rostlab/profisis/trunk/debian/changelog
   trunk/packages/rostlab/profisis/trunk/debian/tests/installation-test
Log:
add debian/README.test, debian/docs, improve testsuite

Added: trunk/packages/rostlab/profisis/trunk/debian/README.test
===================================================================
--- trunk/packages/rostlab/profisis/trunk/debian/README.test	                        (rev 0)
+++ trunk/packages/rostlab/profisis/trunk/debian/README.test	2016-07-05 13:10:29 UTC (rev 22374)
@@ -0,0 +1,18 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by executing
+
+    sh installation-test
+
+in order to confirm its integrity.
+
+To test manually, cd to some dir where you have write permission and do:
+    cp profisis-1.0.11/examples/* .
+    profisis --fastafile 3A1P_A.fasta --hsspfile 3A1P_A.hssp --rdbproffile 3A1P_A.rdbProf --outfile 3A1P_A-result.profisis
+    
+The result of this run (contents of file named `3A1P_A-result.profisis`) should be the same
+as in file named `3A1P_A.profisis`.
+
+If you wish to see more information about profisis usage, run `man profisis` 
+in terminal.

Modified: trunk/packages/rostlab/profisis/trunk/debian/changelog
===================================================================
--- trunk/packages/rostlab/profisis/trunk/debian/changelog	2016-07-05 12:58:20 UTC (rev 22373)
+++ trunk/packages/rostlab/profisis/trunk/debian/changelog	2016-07-05 13:10:29 UTC (rev 22374)
@@ -5,6 +5,7 @@
   * add simple testsuite (for now without readme.test and with `allow-stderr`
     restiction)
   * add hardening
+  * add debian/README.test, debian/docs, improve testsuite
 
  -- Tatiana Malygina <merlettaia at gmail.com>  Thu, 23 Jun 2016 17:31:25 +0300
 

Added: trunk/packages/rostlab/profisis/trunk/debian/docs
===================================================================
--- trunk/packages/rostlab/profisis/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/rostlab/profisis/trunk/debian/docs	2016-07-05 13:10:29 UTC (rev 22374)
@@ -0,0 +1,2 @@
+debian/README.test
+debian/tests/installation-test

Modified: trunk/packages/rostlab/profisis/trunk/debian/tests/installation-test
===================================================================
--- trunk/packages/rostlab/profisis/trunk/debian/tests/installation-test	2016-07-05 12:58:20 UTC (rev 22373)
+++ trunk/packages/rostlab/profisis/trunk/debian/tests/installation-test	2016-07-05 13:10:29 UTC (rev 22374)
@@ -20,4 +20,6 @@
     rm $lnk
 done
 
-profisis --fastafile 3A1P_A.fasta --hsspfile 3A1P_A.hssp --rdbproffile 3A1P_A.rdbProf --outfile 3A1P_A.profisis
+profisis --fastafile 3A1P_A.fasta --hsspfile 3A1P_A.hssp --rdbproffile 3A1P_A.rdbProf --outfile 3A1P_A-result.profisis
+[ -z $(cmp -s 3A1P_A-result.profisis 3A1P_A.profisis) ]
+echo "profisis runs as expected"




More information about the debian-med-commit mailing list