summaryrefslogtreecommitdiff
path: root/test/src/lcms-tests.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2017-09-16 13:27:25 -0700
committerGlenn Morris <rgm@gnu.org>2017-09-16 13:56:56 -0700
commit546413e1ac5106113812d749178c73ed693331f2 (patch)
tree02a5f4cffca5acdf10b4f29e4a379a891f0044c3 /test/src/lcms-tests.el
parent96aaeaaffac8a93d9c8126ba77ad217a3f323fce (diff)
downloademacs-546413e1ac5106113812d749178c73ed693331f2.tar.gz
emacs-546413e1ac5106113812d749178c73ed693331f2.tar.bz2
emacs-546413e1ac5106113812d749178c73ed693331f2.zip
* test/src/lcms-tests.el (lcms-whitepoint): Skip if lcms2 not present.
(cherry picked from commit 8081df26911c63aadfce4ee8f6a7223d814baeaf)
Diffstat (limited to 'test/src/lcms-tests.el')
-rw-r--r--test/src/lcms-tests.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/src/lcms-tests.el b/test/src/lcms-tests.el
index e176cff2dc6..962902eb100 100644
--- a/test/src/lcms-tests.el
+++ b/test/src/lcms-tests.el
@@ -1,6 +1,6 @@
;;; lcms-tests.el --- tests for Little CMS interface -*- lexical-binding: t -*-
-;; Copyright (C) 2017 Free Software Foundation, Inc.
+;; Copyright (C) 2017 Free Software Foundation, Inc.
;; Maintainer: emacs-devel@gnu.org
@@ -67,6 +67,7 @@ B is considered the exact value."
(ert-deftest lcms-whitepoint ()
"Test use of `lcms-temp->white-point'."
+ (skip-unless (featurep 'lcms2))
(should-error (lcms-temp->white-point 3999))
(should-error (lcms-temp->white-point 25001))
;; D55