]> git.eshelyaron.com Git - emacs.git/commitdiff
Check for image library in image-dired-tests.el
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 23 Oct 2021 15:47:27 +0000 (17:47 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 23 Oct 2021 15:47:27 +0000 (17:47 +0200)
* test/lisp/image-dired-tests.el
(image-dired-tests-get-exif-file-name): Check for jpeg library.

test/lisp/image-dired-tests.el

index 0f1dbe54dc593795883fc554cd7e90961b00e184..3f0304ee4052015b0bd7fd90898af64181f51dc6 100644 (file)
@@ -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"))))