projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2507e2
)
Give a more useful error when check_dcp() fails.
author
Carl Hetherington
<cth@carlh.net>
Sat, 26 Aug 2023 18:16:47 +0000
(20:16 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 29 Aug 2023 16:29:59 +0000
(18:29 +0200)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index d9ab2d60bcbedd48ce5868845dd3326266f8c641..630026120736327eb22cea872c9a5772f4315f8b 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-567,7
+567,7
@@
check_dcp(boost::filesystem::path ref, boost::filesystem::path check, bool sound
options.max_subtitle_vertical_position_error = 0.001;
options.sound_assets_can_differ = sound_can_differ;
- BOOST_CHECK
(ref_dcp.equals (check_dcp, options, boost::bind (note, _1, _2))
);
+ BOOST_CHECK
_MESSAGE(ref_dcp.equals(check_dcp, options, boost::bind (note, _1, _2)), check << " does not match " << ref
);
}
void