[med-svn] r22095 - in trunk/packages/conservation-code/trunk/debian: . tests
Tatiana Malygina
latticetower-guest at moszumanska.debian.org
Mon Jun 6 11:07:18 UTC 2016
Author: latticetower-guest
Date: 2016-06-06 11:07:17 +0000 (Mon, 06 Jun 2016)
New Revision: 22095
Modified:
trunk/packages/conservation-code/trunk/debian/changelog
trunk/packages/conservation-code/trunk/debian/tests/non-default-params-test
Log:
add to testsuite distribution file usage check
Modified: trunk/packages/conservation-code/trunk/debian/changelog
===================================================================
--- trunk/packages/conservation-code/trunk/debian/changelog 2016-06-06 10:23:34 UTC (rev 22094)
+++ trunk/packages/conservation-code/trunk/debian/changelog 2016-06-06 11:07:17 UTC (rev 22095)
@@ -9,6 +9,7 @@
* add hardening
* allow-stderr for testsuite to allow test pass instead of fail when matrix
file is not found
+ * verbose output in test + check distributions usage
[ Andreas Tille ]
* install link to /usr/bin rather than copy of Python file
Modified: trunk/packages/conservation-code/trunk/debian/tests/non-default-params-test
===================================================================
--- trunk/packages/conservation-code/trunk/debian/tests/non-default-params-test 2016-06-06 10:23:34 UTC (rev 22094)
+++ trunk/packages/conservation-code/trunk/debian/tests/non-default-params-test 2016-06-06 11:07:17 UTC (rev 22095)
@@ -15,6 +15,7 @@
cp -a /usr/share/doc/${pkg}/examples/* .
+echo "Checking alignment matrix file usage"
#following call goes ok with valid matrix file
score_conservation -m /usr/share/${pkg}/matrix/blosum100.bla -o alignment.scores 2plc__hssp-filtered.aln
[ -e alignment.scores ]
@@ -23,3 +24,12 @@
# can produce error
score_conservation -m /usr/share/${pkg}/matrix/blosum63.bla -o alignment2.scores 2plc__hssp-filtered.aln
[ -e alignment2.scores ]
+
+echo "Checking distribution file usage"
+#with valid distribution file name
+score_conservation -d /usr/share/${pkg}/distributions/swissprot.distribution -o alignment3.scores 2plc__hssp-filtered.aln
+[ -e alignment3.scores ]
+
+#with invalid distribution file name - produces output to stderr:
+score_conservation -d /usr/share/${pkg}/distributions/swissprot1.distribution -o alignment4.scores 2plc__hssp-filtered.aln
+[ -e alignment4.scores ] # and still produces output
More information about the debian-med-commit
mailing list