From: Eshel Yaron Date: Mon, 1 Jul 2024 16:02:01 +0000 (+0200) Subject: (shr-test/zoom-image): Skip when libxml is absent X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=58e55d130cbb23cb0ed6d9ef717554a6d9aecbf5;p=emacs.git (shr-test/zoom-image): Skip when libxml is absent --- diff --git a/test/lisp/net/shr-tests.el b/test/lisp/net/shr-tests.el index 54d85ee95f9..815c1a3cf3f 100644 --- a/test/lisp/net/shr-tests.el +++ b/test/lisp/net/shr-tests.el @@ -136,6 +136,7 @@ settings, then once more for each (OPTION . VALUE) pair.") (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 (fboundp 'libxml-parse-html-region)) (let* ((image (expand-file-name "data/image/blank-100x200.png" (getenv "EMACS_TEST_DIRECTORY"))) (image-url (concat "file://" (if (string-prefix-p "/" image)