diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-12-21 18:01:23 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-12-21 18:02:05 +0100 |
commit | 32a764e106cb6ffbf5f596478d8318e256db58d7 (patch) | |
tree | 585bdb87017162796875d04630e114151f36350b /test/lisp/image-tests.el | |
parent | 1a923e5ac642a914e8c789f95733dda5d64c4f14 (diff) | |
download | emacs-32a764e106cb6ffbf5f596478d8318e256db58d7.tar.gz |
Fix some tests in --without-all builds
* test/lisp/image-tests.el (image-type/from-filename):
* test/src/image-tests.el (image-tests-init-image-library):
* test/src/thread-tests.el (threads-test-bug33073): Fix tests in
--without-all builds.
Diffstat (limited to 'test/lisp/image-tests.el')
-rw-r--r-- | test/lisp/image-tests.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lisp/image-tests.el b/test/lisp/image-tests.el index 79b0014f60a..47d321d5b53 100644 --- a/test/lisp/image-tests.el +++ b/test/lisp/image-tests.el @@ -82,7 +82,8 @@ (ert-deftest image-type/from-filename () ;; On emba, `image-types' and `image-load-path' do not exist. (skip-unless (and (bound-and-true-p image-types) - (bound-and-true-p image-load-path))) + (bound-and-true-p image-load-path) + (image-type-available-p 'jpeg))) (should (eq (image-type "foo.jpg") 'jpeg))) (defun image-tests--type-from-file-header (type) |