[Git][debian-proftpd-team/proftpd][master] [skip-ci] Display tests/api-tests.log compressed / base64 in case of test failure.
Hilmar Preuße (@hilmar)
gitlab at salsa.debian.org
Sun Nov 22 11:53:43 GMT 2026
Hilmar Preuße pushed to branch master at Debian ProFTPD Team / proftpd
Commits:
cd4a6a6d by Hilmar Preuße at 2026-11-22T12:53:37+01:00
[skip-ci] Display tests/api-tests.log compressed / base64 in case of test failure.
- - - - -
2 changed files:
- debian/changelog
- debian/tests/test-suite
Changes:
=====================================
debian/changelog
=====================================
@@ -2,6 +2,7 @@ proftpd-dfsg (1.3.9e~dfsg-4) UNRELEASED; urgency=medium
* Add patch for (Issue #2360).
* Add patch for (Issue #2473).
+ * Display tests/api-tests.log compressed / base64 in case of test failure.
-- Hilmar Preuße <hille42 at debian.org> Thu, 12 Nov 2026 23:54:51 +0100
=====================================
debian/tests/test-suite
=====================================
@@ -13,4 +13,12 @@ eval "$(dpkg-buildflags --export=sh)"
--enable-ipv6 --enable-nls --enable-memcache --enable-pcre2 \
--disable-strip --enable-redis --enable-tests
-make check-api
+make check-api || \
+if [ -r "tests/api-tests.log" ]; then
+ if xz tests/api-tests.log; then
+ base64 tests/api-tests.log.xz
+ else
+ cat tests/api-tests.log
+ fi
+ exit 1
+fi
View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/-/commit/cd4a6a6df35f72dd7394299c4b6fdb67e5fb3eed
--
View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/-/commit/cd4a6a6df35f72dd7394299c4b6fdb67e5fb3eed
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
More information about the Pkg-proftpd-maintainers
mailing list