[med-svn] [Git][med-team/prottest][master] 2 commits: Cleanup after running the test

Andreas Tille gitlab at salsa.debian.org
Sun Feb 21 09:28:11 GMT 2021



Andreas Tille pushed to branch master at Debian Med / prottest


Commits:
38bb0f72 by Andreas Tille at 2021-02-21T10:21:58+01:00
Cleanup after running the test

- - - - -
06f8f998 by Andreas Tille at 2021-02-21T10:27:34+01:00
Debian Med provides some comfortable wrapper for users - may be the documentation should be patched

- - - - -


1 changed file:

- debian/tests/run-unit-test


Changes:

=====================================
debian/tests/run-unit-test
=====================================
@@ -1,13 +1,13 @@
 #!/bin/sh -e
 
 pkg=prottest
-prottest_jar=/usr/share/prottest/prottest-3.4.2.jar
 
 # Trivial test
 prottest -h
 
 if [ "$AUTOPKGTEST_TMP" = "" ] ; then
   AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
 fi
 
 cd $AUTOPKGTEST_TMP
@@ -15,7 +15,7 @@ cd $AUTOPKGTEST_TMP
 cp -a /usr/share/doc/${pkg}/examples/* .
 
 # Run simulations with demo models
-java -jar ${prottest_jar} -i COX2_PF0016/alignment -t COX2_PF0016/tree -S 0 -all-distributions -F -AIC -BIC -tc 0.5
-java -jar ${prottest_jar} -i Ribosomal_L5_PF00673/alignment -t Ribosomal_L5_PF00673/tree -S 0 -all-distributions -F -AIC -BIC -tc 0.5
+prottest -i COX2_PF0016/alignment -t COX2_PF0016/tree -S 0 -all-distributions -F -AIC -BIC -tc 0.5
+prottest -i Ribosomal_L5_PF00673/alignment -t Ribosomal_L5_PF00673/tree -S 0 -all-distributions -F -AIC -BIC -tc 0.5
 
 echo "PASS"



View it on GitLab: https://salsa.debian.org/med-team/prottest/-/compare/b0e068f9a11813fa23be7816101e9d8df0e865a4...06f8f9988ddec6669609c8d40525cd5fe83c60d1

-- 
View it on GitLab: https://salsa.debian.org/med-team/prottest/-/compare/b0e068f9a11813fa23be7816101e9d8df0e865a4...06f8f9988ddec6669609c8d40525cd5fe83c60d1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210221/cf8f33a1/attachment.htm>


More information about the debian-med-commit mailing list