summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-31 18:59:23 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-31 18:59:23 +0000
commit3b00a59febd1920037cb0a6027b3757edaaaff2b (patch)
tree113a7975f4014e1f722293ad26c17023597f0801 /test
parent7ba51b76ef6a04286d94b05171d4c24f55a44d6a (diff)
Try to fix build on OS X.
Diffstat (limited to 'test')
-rw-r--r--test/test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cc b/test/test.cc
index dff7800ce..edeb89925 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -239,7 +239,7 @@ check_image (boost::filesystem::path ref, boost::filesystem::path check)
/* XXX: this is a hack; we really want the ImageMagick call but GraphicsMagick doesn't have it;
this may cause random test failures on platforms that use GraphicsMagick.
*/
-#ifdef DCPOMATIC_IMAGE_MAGICK
+#ifdef DCPOMATIC_ADVANCED_MAGICK_COMPARE
double const dist = ref_image.compare(check_image, Magick::RootMeanSquaredErrorMetric);
BOOST_CHECK_MESSAGE (dist < 0.001, ref << " differs from " << check << " " << dist);
#else