projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d1c856
)
We should not carry on if files don't open in tests.
author
Carl Hetherington
<cth@carlh.net>
Tue, 6 Oct 2020 09:26:03 +0000
(11:26 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 6 Oct 2020 09:26:03 +0000
(11:26 +0200)
test/test.cc
patch
|
blob
|
history
diff --git
a/test/test.cc
b/test/test.cc
index 382ffd77b0c990e339990c46cc4b6e29b5588b91..25d7726dbe6d28d4d77ebe66ead1b31ab3dfb44b 100644
(file)
--- a/
test/test.cc
+++ b/
test/test.cc
@@
-176,9
+176,9
@@
check_file (boost::filesystem::path ref, boost::filesystem::path check)
uintmax_t N = boost::filesystem::file_size (ref);
BOOST_CHECK_EQUAL (N, boost::filesystem::file_size (check));
FILE* ref_file = dcp::fopen_boost (ref, "rb");
- BOOST_
CHECK
(ref_file);
+ BOOST_
REQUIRE
(ref_file);
FILE* check_file = dcp::fopen_boost (check, "rb");
- BOOST_
CHECK
(check_file);
+ BOOST_
REQUIRE
(check_file);
int const buffer_size = 65536;
uint8_t* ref_buffer = new uint8_t[buffer_size];