[med-svn] [Git][med-team/logol][master] Update autotests to add DEBUG level info and allow non-root testing

Olivier Sallou (@osallou) gitlab at salsa.debian.org
Wed Dec 14 08:40:18 GMT 2022



Olivier Sallou pushed to branch master at Debian Med / logol


Commits:
7528eb59 by Olivier Sallou at 2022-12-14T08:30:23+00:00
Update autotests to add DEBUG level info and allow non-root testing

Force rebuild package for new swi-prolog upload as libswiprolog changes it .so version
to .so.9 while logol version was buillt against .so.8

- - - - -


2 changed files:

- debian/changelog
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+logol (1.7.9+dfsg-6) unstable; urgency=medium
+
+  * d/tests: update tests to allow non-root testing and set DEBUG
+    mode to ease failure analysis 
+  * rebuild against new swi-prolog (Closes: #1026056)
+
+ -- Olivier Sallou <osallou at debian.org>  Wed, 14 Dec 2022 08:24:54 +0000
+
 logol (1.7.9+dfsg-5) unstable; urgency=medium
 
   * Team upload


=====================================
debian/tests/run-unit-test
=====================================
@@ -13,6 +13,15 @@ fi
 cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
 
 cd "${AUTOPKGTEST_TMP}"
+mkdir -p ${AUTOPKGTEST_TMP}/work
+cp /etc/logol/logol.properties .
+cp /usr/share/logol/log4j.properties .
+export LOGOL_LOG4J=${AUTOPKGTEST_TMP}/log4j.properties
+sed -i 's;workingDir=/tmp/;workingDir='${AUTOPKGTEST_TMP}'/work/;' logol.properties
+sed -i 's;dir.result=/var/lib/logol/results/;dir.result='${AUTOPKGTEST_TMP}'/work/;' logol.properties
+sed -i 's;/var/log/logol/logol.log;'${AUTOPKGTEST_TMP}'/logol.log;g'  log4j.properties
+sed -i 's;INFO;DEBUG;g'  log4j.properties
+cat logol.properties > /tmp/out
 
-LogolExec -g 1799.logol -s 1799.fasta -dna
-LogolMultiExec -g 1799.logol -s 1799.fasta -dna 
+LogolExec -conf logol.properties -g 1799.logol -s 1799.fasta -dna
+LogolMultiExec -conf logol.properties -g 1799.logol -s 1799.fasta -dna 



View it on GitLab: https://salsa.debian.org/med-team/logol/-/commit/7528eb591b81909e4926786afcaa55b096a67da4

-- 
View it on GitLab: https://salsa.debian.org/med-team/logol/-/commit/7528eb591b81909e4926786afcaa55b096a67da4
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/20221214/998a20d4/attachment-0001.htm>


More information about the debian-med-commit mailing list