From 5f61b38b406f849f4e6f681da11549aa1096727f Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 23 Oct 2021 17:47:27 +0200 Subject: [PATCH] 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. --- test/lisp/image-dired-tests.el | 1 + 1 file changed, 1 insertion(+) 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")))) -- 2.39.2