X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Faudio_delay_test.cc;fp=test%2Faudio_delay_test.cc;h=9e738d14524248f6819cf5a2b51fe2fca0fe9433;hb=6cc7359c1af897f334dab5ba455707ce0c59af9d;hp=d486364f20f68c0678f2cbbb007dcb538292c3b5;hpb=54bb8ec390c86f333ed4fb6e383b348035253f14;p=dcpomatic.git diff --git a/test/audio_delay_test.cc b/test/audio_delay_test.cc index d486364f2..9e738d145 100644 --- a/test/audio_delay_test.cc +++ b/test/audio_delay_test.cc @@ -60,11 +60,11 @@ void test_audio_delay (int delay_in_ms) shared_ptr content (new FFmpegContent("test/data/staircase.wav")); film->examine_and_add_content (content); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); content->audio->set_delay (delay_in_ms); film->make_dcp (); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); boost::filesystem::path path = "build/test"; path /= film_name;