Am 23.09.2017 um 01:13 schrieb Pierre-Elliott Bécue: > Le vendredi 22 septembre 2017 à 18:57:00-0400, Barry Warsaw a écrit : >> On Sep 22, 2017, at 18:53, Pierre-Elliott Bécue <be...@crans.org> wrote: >> >>> Now, when I run the tests, there are a lot of errors, but I can't say >>> exactly why. If you wish I can put a copy of the last attempt. >> >> Sure, post a link. I’ll let you know if I see anything obvious. > > https://peb.pimeys.fr/packages/mailman/mailman3-core/mailman3-core_3.1.0-1_amd64-2017-09-22T09:25:55Z.build > > There you are, I did SIGINT before the end because it was kind of frozen.
The reason for the tests failing is that some tests expect the programs (master, runner, ...) at /usr/bin while we install them at /usr/lib/mailman3/bin. And the tests hang forever because they wait for the daemon to appear/disappear: test_unregister_a_non_registered_style (mailman.styles.tests.test_styles.TestStyle) ... /usr/bin/python3.6: can't open file '/usr/bin/runner': [Errno 2] No such file or directory /usr/bin/python3.6: can't open file '/usr/bin/runner': [Errno 2] No such file or directory I already tried setting MAILMAN_EXTRA_TESTING_CFG in debian/rules: MAILMAN_EXTRA_TESTING_CFG=./debian/contrib/mailman.cfg But apparently that doesn't help. Any idea how to make the tests search the programs in the right place? My latest try was (in debian/rules): override_dh_auto_test: set -e; \ for python in $(shell py3versions -r); do \ MAILMAN_EXTRA_TESTING_CFG=./debian/contrib/mailman.cfg \ PYTHONPATH="." $$python -m nose2 --verbose; \ done Here's the result: https://people.debian.org/~mejo/mailman3-core_3.1.0-1_amd64-2017-09-23T10:06:41Z.build Cheers jonas
signature.asc
Description: OpenPGP digital signature