summaryrefslogtreecommitdiff
path: root/test/ffmpeg_audio_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-21 11:06:13 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-21 11:06:13 +0000
commit6cc7359c1af897f334dab5ba455707ce0c59af9d (patch)
tree237494ff11c3a703ece1602a51c8e7f198eeca05 /test/ffmpeg_audio_test.cc
parent54bb8ec390c86f333ed4fb6e383b348035253f14 (diff)
Stop jobs silently failing in tests.
Diffstat (limited to 'test/ffmpeg_audio_test.cc')
-rw-r--r--test/ffmpeg_audio_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ffmpeg_audio_test.cc b/test/ffmpeg_audio_test.cc
index 7a21ced06..067075d25 100644
--- a/test/ffmpeg_audio_test.cc
+++ b/test/ffmpeg_audio_test.cc
@@ -51,7 +51,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_test)
shared_ptr<FFmpegContent> c (new FFmpegContent ("test/data/staircase.mov"));
film->examine_and_add_content (c);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
c->video->set_scale (VideoContentScale (Ratio::from_id ("185")));
@@ -61,7 +61,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_test)
film->make_dcp ();
film->write_metadata ();
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
boost::filesystem::path path = "build/test";
path /= "ffmpeg_audio_test";