diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-08-26 20:16:47 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-08-29 18:29:59 +0200 |
| commit | d371403c252203ff3f0f572bdae9b0ea95ecdb2f (patch) | |
| tree | bedf6a065201a722e854ecb5b938421aa4e203b4 /test/test.cc | |
| parent | a2507e28a631ee68b0ba898b4fc0c22bbaa2eef2 (diff) | |
Give a more useful error when check_dcp() fails.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cc b/test/test.cc index d9ab2d60b..630026120 100644 --- 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 |
