From d371403c252203ff3f0f572bdae9b0ea95ecdb2f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 26 Aug 2023 20:16:47 +0200 Subject: Give a more useful error when check_dcp() fails. --- test/test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3