swaroop: write position file every 2 minutes; tweak play sensitivity
[dcpomatic.git] / test / video_mxf_content_test.cc
index 5da7ad6418d91df2731d51911ff6493858db809f..d2cb4cea25e28b4b2fac03f4afea1b91fbc413e9 100644 (file)
@@ -54,9 +54,9 @@ BOOST_AUTO_TEST_CASE (video_mxf_content_test)
        shared_ptr<VideoMXFContent> check = dynamic_pointer_cast<VideoMXFContent> (content);
        BOOST_REQUIRE (check);
        film->examine_and_add_content (content);
-       wait_for_jobs ();
+       BOOST_REQUIRE (!wait_for_jobs());
        film->make_dcp ();
-       wait_for_jobs ();
+       BOOST_REQUIRE (!wait_for_jobs());
 
        shared_ptr<dcp::MonoPictureAsset> ref (new dcp::MonoPictureAsset (ref_mxf));
        boost::filesystem::directory_iterator i ("build/test/video_mxf_content_test/video");