diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-21 11:06:13 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-21 11:06:13 +0000 |
| commit | 6cc7359c1af897f334dab5ba455707ce0c59af9d (patch) | |
| tree | 237494ff11c3a703ece1602a51c8e7f198eeca05 /test/audio_processor_test.cc | |
| parent | 54bb8ec390c86f333ed4fb6e383b348035253f14 (diff) | |
Stop jobs silently failing in tests.
Diffstat (limited to 'test/audio_processor_test.cc')
| -rw-r--r-- | test/audio_processor_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/audio_processor_test.cc b/test/audio_processor_test.cc index 9c790833c..4e917bd45 100644 --- a/test/audio_processor_test.cc +++ b/test/audio_processor_test.cc @@ -41,7 +41,7 @@ BOOST_AUTO_TEST_CASE (audio_processor_test) film->set_name ("audio_processor_test"); shared_ptr<FFmpegContent> c (new FFmpegContent("test/data/white.wav")); film->examine_and_add_content (c); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); film->set_audio_channels (6); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST")); @@ -50,10 +50,10 @@ BOOST_AUTO_TEST_CASE (audio_processor_test) /* Analyse the audio and check it doesn't crash */ shared_ptr<AnalyseAudioJob> job (new AnalyseAudioJob (film, film->playlist(), false)); JobManager::instance()->add (job); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); /* Make a DCP and check it */ film->make_dcp (); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); check_dcp ("test/data/audio_processor_test", film->dir (film->dcp_name ())); } |
