projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b53b9f3
)
Better error if a test file is missing.
author
Carl Hetherington
<cth@carlh.net>
Fri, 28 Aug 2015 12:33:29 +0000
(13:33 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 28 Aug 2015 12:33:29 +0000
(13:33 +0100)
test/sound_frame_test.cc
patch
|
blob
|
history
diff --git
a/test/sound_frame_test.cc
b/test/sound_frame_test.cc
index 700eb9b938f606511f3bbf3f30667b3ac4d3825c..fa7e210368d7fcb26aedd31234a0633cd9a60e7f 100644
(file)
--- a/
test/sound_frame_test.cc
+++ b/
test/sound_frame_test.cc
@@
-40,6
+40,7
@@
BOOST_AUTO_TEST_CASE (sound_frame_test)
SF_INFO info;
info.format = 0;
SNDFILE* sndfile = sf_open (ref_file.string().c_str(), SFM_READ, &info);
+ BOOST_REQUIRE (sndfile);
int ref_data[frame_length * channels];
int const read = sf_readf_int (sndfile, ref_data, frame_length);