[med-svn] r22570 - in trunk/packages/rostlab/reprof/trunk/debian: . tests
Tatiana Malygina
latticetower-guest at moszumanska.debian.org
Sun Jul 17 01:06:14 UTC 2016
Author: latticetower-guest
Date: 2016-07-17 01:06:13 +0000 (Sun, 17 Jul 2016)
New Revision: 22570
Modified:
trunk/packages/rostlab/reprof/trunk/debian/changelog
trunk/packages/rostlab/reprof/trunk/debian/tests/installation-test
Log:
improved debian/tests/installation-test
Modified: trunk/packages/rostlab/reprof/trunk/debian/changelog
===================================================================
--- trunk/packages/rostlab/reprof/trunk/debian/changelog 2016-07-17 00:52:51 UTC (rev 22569)
+++ trunk/packages/rostlab/reprof/trunk/debian/changelog 2016-07-17 01:06:13 UTC (rev 22570)
@@ -14,6 +14,7 @@
https://pkg-perl.alioth.debian.org/autopkgtest.html
* add debian/tests/pkg-perl/smoke-tests, fixed debian/tests/control and
debian/tests/test-models.t to make all tests work and remove redundancy
+ * improved debian/tests/installation-test
-- Tatiana Malygina <merlettaia at gmail.com> Thu, 14 Jul 2016 10:18:46 +0300
Modified: trunk/packages/rostlab/reprof/trunk/debian/tests/installation-test
===================================================================
--- trunk/packages/rostlab/reprof/trunk/debian/tests/installation-test 2016-07-17 00:52:51 UTC (rev 22569)
+++ trunk/packages/rostlab/reprof/trunk/debian/tests/installation-test 2016-07-17 01:06:13 UTC (rev 22570)
@@ -23,20 +23,24 @@
rm $lnk
done
+echo "Run reprof for prediction from BLAST PSSM matrix..."
# Following examples were taken from man page.
# Prediction from BLAST PSSM matrix for best results:
reprof -i example.Q -o example.Q.new.reprof
[ -z $(cmp -s example.Q.new.reprof example.Q.reprof) ]
+echo "Run reprof for prediction from .fasta..."
# Prediction from FASTA file:
reprof -i example.fasta -o example.fasta.new.reprof
[ -z $(cmp -s example.fasta.new.reprof example.fasta.reprof) ]
-# last example is commented for now. After thi bug would be fixed:
-# "Constructor failed at /usr/share/perl5/RG/Reprof.pm line 225."
+echo "Run reprof with --mutations parameter..."
# Prediction from BLAST PSSM matrix file using the mutation mode:
-#reprof -i /usr/share/doc/reprof/examples/example.Q -o /tmp/mutations_example.Q.reprof --mutations /usr/share/doc/reprof/examples/mutations.txt
-
-# Result files for the above call are going to be:
-# # /tmp/mutations_example.Q.{reprof,reprof_F172P,reprof_M1Q,reprof_N3
-#4Y,reprof_ORI} - see --mutations for a description of the extensions.
+reprof -i example.Q -o mutations_example.Q.new.reprof --mutations mutations.txt
+[ -z $(cmp -s mutations_example.Q.new.reprof mutations_example.Q.reprof) ]
+[ -z $(cmp -s mutations_example.Q.new.reprof_F172P mutations_example.Q.reprof_F172P) ]
+[ -z $(cmp -s mutations_example.Q.new.reprof_M1Q mutations_example.Q.reprof_M1Q) ]
+[ -z $(cmp -s mutations_example.Q.new.reprof_N34Y mutations_example.Q.reprof_N34Y) ]
+[ -z $(cmp -s mutations_example.Q.new.reprof_ORI mutations_example.Q.reprof_ORI) ]
+
+echo "Reprof works as expected"
More information about the debian-med-commit
mailing list