GNU bug report logs - #73440
31.0.50; shr-test/zoom-condition test fails if built w/o libxml2 support

Previous Next

Package: emacs;

Reported by: Sam James <sam <at> gentoo.org>

Date: Mon, 23 Sep 2024 13:13:01 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sam James <sam <at> gentoo.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: jporterbugs <at> gmail.com, 73440 <at> debbugs.gnu.org
Subject: bug#73440: 31.0.50; shr-test/zoom-condition test fails if built w/o libxml2 support
Date: Mon, 23 Sep 2024 15:46:04 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> [...]
> diff --git a/test/lisp/net/shr-tests.el b/test/lisp/net/shr-tests.el
> index f8559df..d0fe803 100644
> --- a/test/lisp/net/shr-tests.el
> +++ b/test/lisp/net/shr-tests.el
> @@ -136,6 +136,7 @@ shr-srcset
>  (ert-deftest shr-test/zoom-image ()
>    "Test that `shr-zoom-image' properly replaces the original image."
>    (skip-unless (bound-and-true-p image-types))
> +  (skip-unless (libxml-available-p))
>    (let* ((image (expand-file-name "data/image/blank-100x200.png"
>                                    (getenv "EMACS_TEST_DIRECTORY")))
>           (image-url (concat "file://" (if (string-prefix-p "/" image)

This works - thank you.




This bug report was last modified 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.