projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a13c66b
)
Try relaxing image check slightly.
author
Carl Hetherington
<cth@carlh.net>
Sat, 3 Feb 2018 00:53:51 +0000
(
00:53
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 3 Feb 2018 00:53:51 +0000
(
00:53
+0000)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index edeb89925dd7d2bbe599b26d4c34873dfa9d92d3..76678b74be4ba77bd0957dfb2e6b8a0b1ceda7a2 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-241,7
+241,7
@@
check_image (boost::filesystem::path ref, boost::filesystem::path check)
*/
#ifdef DCPOMATIC_ADVANCED_MAGICK_COMPARE
double const dist = ref_image.compare(check_image, Magick::RootMeanSquaredErrorMetric);
- BOOST_CHECK_MESSAGE (dist < 0.0
0
1, ref << " differs from " << check << " " << dist);
+ BOOST_CHECK_MESSAGE (dist < 0.01, ref << " differs from " << check << " " << dist);
#else
BOOST_CHECK_MESSAGE (!ref_image.compare(check_image), ref << " differs from " << check);
#endif