diff options
| author | Basil L. Contovounesios | 2022-05-01 01:19:51 +0300 |
|---|---|---|
| committer | Basil L. Contovounesios | 2022-05-01 01:19:51 +0300 |
| commit | 02bf6650b073ffad702772a2ebae20023fa8276a (patch) | |
| tree | 9bec4a338426f013b8db66283af47c92ce57aa7a /test | |
| parent | 4ea8ab77e295fc508fc910e8278540ebcce293fb (diff) | |
| download | emacs-02bf6650b073ffad702772a2ebae20023fa8276a.tar.gz emacs-02bf6650b073ffad702772a2ebae20023fa8276a.zip | |
Fix failing image test on nox builds
* test/lisp/image-tests.el (image-supported-file-p/built-in): Skip
test in --without-x builds.
Diffstat (limited to 'test')
| -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 908df09f15f..bc8c3636c3c 100644 --- a/test/lisp/image-tests.el +++ b/test/lisp/image-tests.el | |||
| @@ -75,7 +75,8 @@ | |||
| 75 | (should-not (find-image '((:type png :file "does-not-exist-foo-bar.png"))))) | 75 | (should-not (find-image '((:type png :file "does-not-exist-foo-bar.png"))))) |
| 76 | 76 | ||
| 77 | (ert-deftest image-supported-file-p/built-in () | 77 | (ert-deftest image-supported-file-p/built-in () |
| 78 | ;; (skip-unless (image-type-available-p 'pbm)) ; always built-in | 78 | ;; (skip-unless (image-type-available-p 'pbm)) ; Always built-in |
| 79 | (skip-unless (display-images-p)) ; (except in nox builds). | ||
| 79 | (should (eq (image-supported-file-p "foo.pbm") 'pbm))) | 80 | (should (eq (image-supported-file-p "foo.pbm") 'pbm))) |
| 80 | 81 | ||
| 81 | (ert-deftest image-supported-file-p/optional () | 82 | (ert-deftest image-supported-file-p/optional () |