gnu: gmime: Skip non-deterministic tests.

* gnu/packages/patches/gmime-disable-tests.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/mail.scm (gmime) [source]: Apply it.

Change-Id: Ic7bee405c79bf9ab149559563f515cc8dea4216f
This commit is contained in:
Maxim Cournoyer 2025-04-03 23:23:14 +09:00 committed by Christopher Baines
parent 4b5ba80a27
commit dd5b74ba8b
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577
3 changed files with 23 additions and 1 deletions

View file

@ -1491,6 +1491,7 @@ dist_patch_DATA = \
%D%/packages/patches/glibc-2.29-git-updates.patch \ %D%/packages/patches/glibc-2.29-git-updates.patch \
%D%/packages/patches/glibc-2.29-supported-locales.patch \ %D%/packages/patches/glibc-2.29-supported-locales.patch \
%D%/packages/patches/glibc-supported-locales.patch \ %D%/packages/patches/glibc-supported-locales.patch \
%D%/packages/patches/gmime-disable-tests.patch \
%D%/packages/patches/gmp-arm-asm-nothumb.patch \ %D%/packages/patches/gmp-arm-asm-nothumb.patch \
%D%/packages/patches/gmp-faulty-test.patch \ %D%/packages/patches/gmp-faulty-test.patch \
%D%/packages/patches/gnome-2048-fix-positional-argument.patch \ %D%/packages/patches/gnome-2048-fix-positional-argument.patch \

View file

@ -850,7 +850,8 @@ It adds a large amount of new and improved features to mutt.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0493dngbasd2nngzsp4b8v4cnl4vb88hc1qga5y9w7l6c89hxn1w")))) (base32 "0493dngbasd2nngzsp4b8v4cnl4vb88hc1qga5y9w7l6c89hxn1w"))
(patches (search-patches "gmime-disable-tests.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list #:configure-flags (list #:configure-flags

View file

@ -0,0 +1,20 @@
The test-pgp and test-pgpmime fail sporadically.
See: https://github.com/jstedfast/gmime/issues/177
*** source/tests/Makefile.am 1970-01-01 09:00:01.000000000 +0900
--- tests/Makefile.am.new 2025-04-03 23:11:19.220597686 +0900
***************
*** 22,33 ****
test-autocrypt \
test-mime
- if ENABLE_CRYPTO
- AUTOMATED_TESTS += \
- test-pgp \
- test-pgpmime
- endif
-
MANUAL_TESTS = \
test-best \
test-parser \
--- 22,27 ----