From: Carl Hetherington Date: Wed, 18 May 2016 13:47:02 +0000 (+0100) Subject: Better information when check_audio_file fails. X-Git-Tag: v2.8.4~3 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=6bdca5fdc67602249baf8cb0a9bebe818c067284;hp=91c62a41e2643d5c5c4bd18c064f1c080dfec4aa Better information when check_audio_file fails. --- diff --git a/test/test.cc b/test/test.cc index e41cc6599..791154077 100644 --- a/test/test.cc +++ b/test/test.cc @@ -151,6 +151,7 @@ check_audio_file (boost::filesystem::path ref, boost::filesystem::path check) BOOST_REQUIRE_MESSAGE ( abs (ref_buffer[i] - check_buffer[i]) <= 65536, ref << " differs from " << check << " at " << (ref_info.frames - N + i) << " of " << ref_info.frames + << "(" << ref_buffer[i] << " vs " << check_buffer[i] << ")" ); }