Better information when check_audio_file fails.
authorCarl Hetherington <cth@carlh.net>
Wed, 18 May 2016 13:47:02 +0000 (14:47 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 18 May 2016 13:47:02 +0000 (14:47 +0100)
test/test.cc

index e41cc659912d48ebbcd49f42766025f5acf78f30..791154077f21585a3f3fa63980cde82fedb14a1d 100644 (file)
@@ -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] << ")"
                                );
                }