summaryrefslogtreecommitdiff
path: root/test/repeat_frame_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/repeat_frame_test.cc
parent54bb8ec390c86f333ed4fb6e383b348035253f14 (diff)
Stop jobs silently failing in tests.
Diffstat (limited to 'test/repeat_frame_test.cc')
-rw-r--r--test/repeat_frame_test.cc4
1 files changed, 2 insertions, 2 deletions
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<FFmpegContent> 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 ()));