Fix failing image test on nox builds
* test/lisp/image-tests.el (image-supported-file-p/built-in): Skip test in --without-x builds.
This commit is contained in:
parent
4ea8ab77e2
commit
02bf6650b0
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@
|
|||
(should-not (find-image '((:type png :file "does-not-exist-foo-bar.png")))))
|
||||
|
||||
(ert-deftest image-supported-file-p/built-in ()
|
||||
;; (skip-unless (image-type-available-p 'pbm)) ; always built-in
|
||||
;; (skip-unless (image-type-available-p 'pbm)) ; Always built-in
|
||||
(skip-unless (display-images-p)) ; (except in nox builds).
|
||||
(should (eq (image-supported-file-p "foo.pbm") 'pbm)))
|
||||
|
||||
(ert-deftest image-supported-file-p/optional ()
|
||||
|
|
Loading…
Add table
Reference in a new issue