summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-12-21 10:18:24 +0100
committerUlrich Müller <ulm@gentoo.org>2023-12-21 12:28:12 +0100
commit52cd8398bcfe6a5da6859b6d8973f4762e6d1aa7 (patch)
tree070c36d0db50d4a05fa79e61e6dd23ab38f73c9a /app-editors/emacs
parentmedia-libs/mesa: Stabilize 23.3.1 ppc, #920055 (diff)
downloadgentoo-52cd8398bcfe6a5da6859b6d8973f4762e6d1aa7.tar.gz
gentoo-52cd8398bcfe6a5da6859b6d8973f4762e6d1aa7.tar.bz2
gentoo-52cd8398bcfe6a5da6859b6d8973f4762e6d1aa7.zip
app-editors/emacs: Fix mml-sec-tests.el
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors/emacs')
-rw-r--r--app-editors/emacs/emacs-29.1-r6.ebuild13
-rw-r--r--app-editors/emacs/emacs-29.1.90.ebuild13
-rw-r--r--app-editors/emacs/emacs-29.1.9999.ebuild13
-rw-r--r--app-editors/emacs/emacs-30.0.9999.ebuild13
4 files changed, 20 insertions, 32 deletions
diff --git a/app-editors/emacs/emacs-29.1-r6.ebuild b/app-editors/emacs/emacs-29.1-r6.ebuild
index 9cfd899f30d4..c15027e0bbea 100644
--- a/app-editors/emacs/emacs-29.1-r6.ebuild
+++ b/app-editors/emacs/emacs-29.1-r6.ebuild
@@ -213,6 +213,11 @@ src_prepare() {
sed -i -e 's/(executable-find "bwrap")/nil/' test/src/emacs-tests.el \
test/lisp/emacs-lisp/bytecomp-tests.el || die
+ # Tests use this dir as GNUPGHOME. Move to shorter path, in order
+ # not to exceed the 108 char limit for GnuPG's sockets on Linux.
+ mv test/lisp/gnus/mml-sec-resources "${T}"/gnupg || die
+ ln -s "${T}"/gnupg test/lisp/gnus/mml-sec-resources || die
+
AT_M4DIR=m4 eautoreconf
}
@@ -409,14 +414,6 @@ src_test() {
# subtests which caused failure. Elements should begin with a %.
# e.g. %lisp/gnus/mml-sec-tests.el.
local exclude_tests=(
- # Reason: not yet known
- # mml-secure-en-decrypt-{1,2,3,4}
- # mml-secure-find-usable-keys-{1,2}
- # mml-secure-key-checks
- # mml-secure-select-preferred-keys-4
- # mml-secure-sign-verify-1
- %lisp/gnus/mml-sec-tests.el
-
# Reason: permission denied on /nonexistent
# (vc-*-bzr only fails if breezy is installed, as they
# try to access cache dirs under /nonexistent)
diff --git a/app-editors/emacs/emacs-29.1.90.ebuild b/app-editors/emacs/emacs-29.1.90.ebuild
index 9aff860d84f5..8a58f10bc90e 100644
--- a/app-editors/emacs/emacs-29.1.90.ebuild
+++ b/app-editors/emacs/emacs-29.1.90.ebuild
@@ -210,6 +210,11 @@ src_prepare() {
sed -i -e 's/(executable-find "bwrap")/nil/' test/src/emacs-tests.el \
test/lisp/emacs-lisp/bytecomp-tests.el || die
+ # Tests use this dir as GNUPGHOME. Move to shorter path, in order
+ # not to exceed the 108 char limit for GnuPG's sockets on Linux.
+ mv test/lisp/gnus/mml-sec-resources "${T}"/gnupg || die
+ ln -s "${T}"/gnupg test/lisp/gnus/mml-sec-resources || die
+
AT_M4DIR=m4 eautoreconf
}
@@ -406,14 +411,6 @@ src_test() {
# subtests which caused failure. Elements should begin with a %.
# e.g. %lisp/gnus/mml-sec-tests.el.
local exclude_tests=(
- # Reason: not yet known
- # mml-secure-en-decrypt-{1,2,3,4}
- # mml-secure-find-usable-keys-{1,2}
- # mml-secure-key-checks
- # mml-secure-select-preferred-keys-4
- # mml-secure-sign-verify-1
- %lisp/gnus/mml-sec-tests.el
-
# Reason: permission denied on /nonexistent
# (vc-*-bzr only fails if breezy is installed, as they
# try to access cache dirs under /nonexistent)
diff --git a/app-editors/emacs/emacs-29.1.9999.ebuild b/app-editors/emacs/emacs-29.1.9999.ebuild
index 9aff860d84f5..8a58f10bc90e 100644
--- a/app-editors/emacs/emacs-29.1.9999.ebuild
+++ b/app-editors/emacs/emacs-29.1.9999.ebuild
@@ -210,6 +210,11 @@ src_prepare() {
sed -i -e 's/(executable-find "bwrap")/nil/' test/src/emacs-tests.el \
test/lisp/emacs-lisp/bytecomp-tests.el || die
+ # Tests use this dir as GNUPGHOME. Move to shorter path, in order
+ # not to exceed the 108 char limit for GnuPG's sockets on Linux.
+ mv test/lisp/gnus/mml-sec-resources "${T}"/gnupg || die
+ ln -s "${T}"/gnupg test/lisp/gnus/mml-sec-resources || die
+
AT_M4DIR=m4 eautoreconf
}
@@ -406,14 +411,6 @@ src_test() {
# subtests which caused failure. Elements should begin with a %.
# e.g. %lisp/gnus/mml-sec-tests.el.
local exclude_tests=(
- # Reason: not yet known
- # mml-secure-en-decrypt-{1,2,3,4}
- # mml-secure-find-usable-keys-{1,2}
- # mml-secure-key-checks
- # mml-secure-select-preferred-keys-4
- # mml-secure-sign-verify-1
- %lisp/gnus/mml-sec-tests.el
-
# Reason: permission denied on /nonexistent
# (vc-*-bzr only fails if breezy is installed, as they
# try to access cache dirs under /nonexistent)
diff --git a/app-editors/emacs/emacs-30.0.9999.ebuild b/app-editors/emacs/emacs-30.0.9999.ebuild
index 9ed35f39b910..02c7ef6e61da 100644
--- a/app-editors/emacs/emacs-30.0.9999.ebuild
+++ b/app-editors/emacs/emacs-30.0.9999.ebuild
@@ -211,6 +211,11 @@ src_prepare() {
sed -i -e 's/(executable-find "bwrap")/nil/' test/src/emacs-tests.el \
test/lisp/emacs-lisp/bytecomp-tests.el || die
+ # Tests use this dir as GNUPGHOME. Move to shorter path, in order
+ # not to exceed the 108 char limit for GnuPG's sockets on Linux.
+ mv test/lisp/gnus/mml-sec-resources "${T}"/gnupg || die
+ ln -s "${T}"/gnupg test/lisp/gnus/mml-sec-resources || die
+
AT_M4DIR=m4 eautoreconf
}
@@ -408,14 +413,6 @@ src_test() {
# subtests which caused failure. Elements should begin with a %.
# e.g. %lisp/gnus/mml-sec-tests.el.
local exclude_tests=(
- # Reason: not yet known
- # mml-secure-en-decrypt-{1,2,3,4}
- # mml-secure-find-usable-keys-{1,2}
- # mml-secure-key-checks
- # mml-secure-select-preferred-keys-4
- # mml-secure-sign-verify-1
- %lisp/gnus/mml-sec-tests.el
-
# Reason: permission denied on /nonexistent
# (vc-*-bzr only fails if breezy is installed, as they
# try to access cache dirs under /nonexistent)