diff options
Diffstat (limited to 'test/combine_test.cc')
| -rw-r--r-- | test/combine_test.cc | 8 |
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()); } |
