From 6cc7359c1af897f334dab5ba455707ce0c59af9d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 21 Jan 2019 11:06:13 +0000 Subject: Stop jobs silently failing in tests. --- test/repeat_frame_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/repeat_frame_test.cc') diff --git a/test/repeat_frame_test.cc b/test/repeat_frame_test.cc index badf5d9ff..d5ee0c023 100644 --- a/test/repeat_frame_test.cc +++ b/test/repeat_frame_test.cc @@ -46,13 +46,13 @@ BOOST_AUTO_TEST_CASE (repeat_frame_test) shared_ptr c (new FFmpegContent("test/data/red_24.mp4")); film->examine_and_add_content (c); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); c->video->set_scale (VideoContentScale (Ratio::from_id ("185"))); film->set_video_frame_rate (48); film->make_dcp (); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); /* Should be 32 frames of red */ check_dcp ("test/data/repeat_frame_test", film->dir (film->dcp_name ())); -- cgit v1.2.3