From: Michael Albinus Date: Sat, 23 Oct 2021 15:47:27 +0000 (+0200) Subject: Check for image library in image-dired-tests.el X-Git-Tag: emacs-29.0.90~3671^2~455 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f61b38b406f849f4e6f681da11549aa1096727f;p=emacs.git Check for image library in image-dired-tests.el * test/lisp/image-dired-tests.el (image-dired-tests-get-exif-file-name): Check for jpeg library. --- diff --git a/test/lisp/image-dired-tests.el b/test/lisp/image-dired-tests.el index 0f1dbe54dc5..3f0304ee405 100644 --- a/test/lisp/image-dired-tests.el +++ b/test/lisp/image-dired-tests.el @@ -29,6 +29,7 @@ "../")))) (ert-deftest image-dired-tests-get-exif-file-name () + (skip-unless (image-type-available-p 'jpeg)) (let ((img (image-dired-test-image-file "black.jpg"))) (should (equal (image-dired-get-exif-file-name img) "2019_09_21_16_22_13_black.jpg"))))