summaryrefslogtreecommitdiff
path: root/test/content_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/content_test.cc')
-rw-r--r--test/content_test.cc14
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);
}