diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-05-30 13:22:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-05-30 13:22:11 +0100 |
| commit | dd879e5254c1e005e60ccd135a37f70cb2fe3a75 (patch) | |
| tree | 505edd6a2aaf6261c8cb5c2d17fc3644c74e9dfa /test/content_test.cc | |
| parent | eea4471bb8c681b9130d4c5049f386b240a3ac3a (diff) | |
Check content_test1 output.
Diffstat (limited to 'test/content_test.cc')
| -rw-r--r-- | test/content_test.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/content_test.cc b/test/content_test.cc index 91b5756d1..cc703bfb8 100644 --- a/test/content_test.cc +++ b/test/content_test.cc @@ -45,4 +45,18 @@ BOOST_AUTO_TEST_CASE (content_test1) BOOST_REQUIRE (!wait_for_jobs ()); film->make_dcp (); BOOST_REQUIRE (!wait_for_jobs ()); + + boost::filesystem::path check; + + for ( + boost::filesystem::directory_iterator i = boost::filesystem::directory_iterator("build/test/content_test1/" + film->dcp_name()); + i != boost::filesystem::directory_iterator(); + ++i) { + + if (i->path().leaf().string().substr(0, 4) == "pcm_") { + check = *i; + } + } + + check_mxf_audio_file ("test/data/content_test1.mxf", check); } |
