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/ffmpeg_audio_only_test.cc | |
| parent | 54bb8ec390c86f333ed4fb6e383b348035253f14 (diff) | |
Stop jobs silently failing in tests.
Diffstat (limited to 'test/ffmpeg_audio_only_test.cc')
| -rw-r--r-- | test/ffmpeg_audio_only_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ffmpeg_audio_only_test.cc b/test/ffmpeg_audio_only_test.cc index 8e2993e96..a8a7184c4 100644 --- a/test/ffmpeg_audio_only_test.cc +++ b/test/ffmpeg_audio_only_test.cc @@ -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 */ |
