Try to fix unit tests.
[dcpomatic.git] / test / interrupt_encoder_test.cc
index 1068ed5b2089882b4f6e5b23521f9ae7edfbc72f..c6145d861908fcb60c63a9e4930e8a011b00f998 100644 (file)
@@ -45,9 +45,9 @@ BOOST_AUTO_TEST_CASE (interrupt_encoder_test)
        film->set_container (Ratio::from_id ("185"));
        film->set_name ("interrupt_encoder_test");
 
-       shared_ptr<FFmpegContent> content (new FFmpegContent (film, private_data / "prophet_clip.mkv"));
+       shared_ptr<FFmpegContent> content (new FFmpegContent(private_data / "prophet_long_clip.mkv"));
        film->examine_and_add_content (content);
-       wait_for_jobs ();
+       BOOST_REQUIRE (!wait_for_jobs());
 
        film->make_dcp ();