projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91c62a4
)
Better information when check_audio_file fails.
author
Carl Hetherington
<cth@carlh.net>
Wed, 18 May 2016 13:47:02 +0000
(14:47 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 18 May 2016 13:47:02 +0000
(14:47 +0100)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index e41cc659912d48ebbcd49f42766025f5acf78f30..791154077f21585a3f3fa63980cde82fedb14a1d 100644
(file)
--- 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] << ")"
);
}