summaryrefslogtreecommitdiff
path: root/test/combine_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-08 23:42:40 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:22 +0100
commit8dd69a2a86b64bbf5ec80a78a6ad74865f752fde (patch)
tree3edcb1bbf14b85c61e3124f3c76bfd54f6121d8c /test/combine_test.cc
parentb6cfa3cfa660622997a52f00a9f0376339c0f743 (diff)
Bv2.1 6.1: DCPs must be SMPTE.
Diffstat (limited to 'test/combine_test.cc')
-rw-r--r--test/combine_test.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/combine_test.cc b/test/combine_test.cc
index 6db968f6..c62f0322 100644
--- a/test/combine_test.cc
+++ b/test/combine_test.cc
@@ -85,6 +85,14 @@ check_no_errors (boost::filesystem::path path)
vector<boost::filesystem::path> directories;
directories.push_back (path);
list<dcp::VerificationNote> notes = dcp::verify (directories, &stage, &progress, xsd_test);
+ for (list<dcp::VerificationNote>::iterator i = notes.begin(); i != notes.end(); ) {
+ list<dcp::VerificationNote>::iterator tmp = i;
+ ++tmp;
+ if (i->code() == dcp::VerificationNote::NOT_SMPTE) {
+ notes.erase (i);
+ }
+ i = tmp;
+ }
dump_notes (notes);
BOOST_CHECK (notes.empty());
}