From: Basil L. Contovounesios Date: Sat, 30 Apr 2022 22:19:51 +0000 (+0300) Subject: Fix failing image test on nox builds X-Git-Tag: emacs-29.0.90~1931^2~175 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=02bf6650b073ffad702772a2ebae20023fa8276a;p=emacs.git Fix failing image test on nox builds * test/lisp/image-tests.el (image-supported-file-p/built-in): Skip test in --without-x builds. --- diff --git a/test/lisp/image-tests.el b/test/lisp/image-tests.el index 908df09f15f..bc8c3636c3c 100644 --- a/test/lisp/image-tests.el +++ b/test/lisp/image-tests.el @@ -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 ()