commit:     a17d4574af6c465e1b82c4dc10294db34bfe1413
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  3 19:27:43 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Dec  3 19:37:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17d4574

app-editors/emacs: Exclude shr-tests.el from tests

The shr-test/zoom-image test succeeds with dev-libs/libxml2-2.13.9
but fails with 2.14.2 or later. Apparently HTML parsing in libxml2
has become stricter and now refuses to parse the test case, namely:
<img src="file://.../blank-100x200.png"
i.e. a malformed start tag missing the closing ">" delimiter.

Bug: https://bugs.gnu.org/79041
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-editors/emacs/emacs-30.2.9999.ebuild | 4 ++++
 app-editors/emacs/emacs-30.2.ebuild      | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/app-editors/emacs/emacs-30.2.9999.ebuild 
b/app-editors/emacs/emacs-30.2.9999.ebuild
index 909d7f176709..5688ed0d12a9 100644
--- a/app-editors/emacs/emacs-30.2.9999.ebuild
+++ b/app-editors/emacs/emacs-30.2.9999.ebuild
@@ -447,6 +447,10 @@ src_test() {
                %lisp/vc/vc-tests.el
                %lisp/vc/vc-bzr-tests.el
 
+               # Reason: malformed html tag in test, https://bugs.gnu.org/79041
+               # shr-test/zoom-image
+               %lisp/net/shr-tests.el
+
                %lisp/progmodes/eglot-tests.el  #966957
 
                # Reason: tries to access network

diff --git a/app-editors/emacs/emacs-30.2.ebuild 
b/app-editors/emacs/emacs-30.2.ebuild
index 62fed606efe3..882564a95e6d 100644
--- a/app-editors/emacs/emacs-30.2.ebuild
+++ b/app-editors/emacs/emacs-30.2.ebuild
@@ -447,6 +447,10 @@ src_test() {
                %lisp/vc/vc-tests.el
                %lisp/vc/vc-bzr-tests.el
 
+               # Reason: malformed html tag in test, https://bugs.gnu.org/79041
+               # shr-test/zoom-image
+               %lisp/net/shr-tests.el
+
                %lisp/progmodes/eglot-tests.el  #966957
 
                # Reason: tries to access network

Reply via email to