Rename DEVELOPMENT -> DEVELOP.md and add some stuff about player stress testing.
[dcpomatic.git] / test / ffmpeg_audio_only_test.cc
index 8e2993e9650ebf1d75bbc568762e7d8f3688440d..a8a7184c4e264883b7de730afec4adc3cc4c073c 100644 (file)
@@ -74,12 +74,12 @@ test (boost::filesystem::path file)
        film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
        shared_ptr<FFmpegContent> c (new FFmpegContent(file));
        film->examine_and_add_content (c);
-       wait_for_jobs ();
+       BOOST_REQUIRE (!wait_for_jobs());
        film->write_metadata ();
 
        /* See if can make a DCP without any errors */
        film->make_dcp ();
-       wait_for_jobs ();
+       BOOST_REQUIRE (!wait_for_jobs());
        BOOST_CHECK (!JobManager::instance()->errors());
 
        /* Compare the audio data player reads with what libsndfile reads */