Alway build with --enable-disk if we can, regardless of any cscript option.
[dcpomatic.git] / test / interrupt_encoder_test.cc
index 1068ed5b2089882b4f6e5b23521f9ae7edfbc72f..ddad2ee77baf3e45d79d7082b37e7dc6f0c38c6f 100644 (file)
@@ -45,13 +45,13 @@ 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(TestPaths::private_data / "prophet_long_clip.mkv"));
        film->examine_and_add_content (content);
-       wait_for_jobs ();
+       BOOST_REQUIRE (!wait_for_jobs());
 
        film->make_dcp ();
 
-       dcpomatic_sleep (10);
+       dcpomatic_sleep_seconds (10);
 
        JobManager::drop ();
 }