mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
Fix two tests for --without-all build
* test/src/image-tests.el (image-tests-image-mask-p/error-on-nongraphical-display) (image-tests-image-metadata/error-on-nongraphical-display): xpm images are not supported in all configurations so use xbm for non graphical display tests.
This commit is contained in:
parent
98daa10f06
commit
6f9f9a2155
1 changed files with 2 additions and 2 deletions
|
|
@ -49,11 +49,11 @@
|
||||||
|
|
||||||
(ert-deftest image-tests-image-mask-p/error-on-nongraphical-display ()
|
(ert-deftest image-tests-image-mask-p/error-on-nongraphical-display ()
|
||||||
(skip-when (display-images-p))
|
(skip-when (display-images-p))
|
||||||
(should-error (image-mask-p (cdr (assq 'xpm image-tests--images)))))
|
(should-error (image-mask-p (cdr (assq 'xbm image-tests--images)))))
|
||||||
|
|
||||||
(ert-deftest image-tests-image-metadata/error-on-nongraphical-display ()
|
(ert-deftest image-tests-image-metadata/error-on-nongraphical-display ()
|
||||||
(skip-when (display-images-p))
|
(skip-when (display-images-p))
|
||||||
(should-error (image-metadata (cdr (assq 'xpm image-tests--images)))))
|
(should-error (image-metadata (cdr (assq 'xbm image-tests--images)))))
|
||||||
|
|
||||||
(ert-deftest image-tests-imagemagick-types ()
|
(ert-deftest image-tests-imagemagick-types ()
|
||||||
(skip-unless (fboundp 'imagemagick-types))
|
(skip-unless (fboundp 'imagemagick-types))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue