projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea2c5d6
)
Improve output when a test fails.
author
Carl Hetherington
<cth@carlh.net>
Tue, 1 Jun 2021 23:27:41 +0000
(
01:27
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 1 Jun 2021 23:44:34 +0000
(
01:44
+0200)
test/verify_test.cc
patch
|
blob
|
history
diff --git
a/test/verify_test.cc
b/test/verify_test.cc
index dd95ef6ecf1c5890d3c310c303fa0e1c301fd53e..a77a20aa2b97b379cb77359722125b017acafe30 100644
(file)
--- a/
test/verify_test.cc
+++ b/
test/verify_test.cc
@@
-243,7
+243,7
@@
check_verify_result (vector<path> dir, vector<dcp::VerificationNote> test_notes)
std::sort (notes.begin(), notes.end());
std::sort (test_notes.begin(), test_notes.end());
for (auto i = 0U; i < notes.size(); ++i) {
- BOOST_REQUIRE_
EQUAL (notes[i],
test_notes[i]);
+ BOOST_REQUIRE_
MESSAGE (notes[i] == test_notes[i], "Note from verify:\n" << notes[i] << "\ndoes not match the expected:\n" <<
test_notes[i]);
}
}