summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-09 10:54:55 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:22 +0100
commitae6ba1b6e48e28292f76ea35121d99ac6cb1555b (patch)
tree20f35c884b3ce277baa9fc6100bd9e6f6e0a9fe0
parent247629f8e6f3e05c125cfa6b369eb6b9f0594982 (diff)
We can always dump notes where there are none expected.
-rw-r--r--test/verify_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/verify_test.cc b/test/verify_test.cc
index 62b5c6c4..ac2d825b 100644
--- a/test/verify_test.cc
+++ b/test/verify_test.cc
@@ -130,7 +130,6 @@ private:
};
-#if 0
static
void
dump_notes (list<dcp::VerificationNote> const & notes)
@@ -139,7 +138,6 @@ dump_notes (list<dcp::VerificationNote> const & notes)
std::cout << dcp::note_to_string(i) << "\n";
}
}
-#endif
/* Check DCP as-is (should be OK) */
BOOST_AUTO_TEST_CASE (verify_test1)
@@ -695,6 +693,7 @@ BOOST_AUTO_TEST_CASE (verify_test20)
vector<boost::filesystem::path> dirs;
dirs.push_back (dir);
list<dcp::VerificationNote> notes = dcp::verify (dirs, &stage, &progress, xsd_test);
+ dump_notes (notes);
BOOST_REQUIRE_EQUAL (notes.size(), 0);
}