summaryrefslogtreecommitdiff
path: root/test/player_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/player_test.cc
parent54bb8ec390c86f333ed4fb6e383b348035253f14 (diff)
Stop jobs silently failing in tests.
Diffstat (limited to 'test/player_test.cc')
-rw-r--r--test/player_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/player_test.cc b/test/player_test.cc
index 9d6641cb2..15bdb617f 100644
--- a/test/player_test.cc
+++ b/test/player_test.cc
@@ -68,7 +68,7 @@ BOOST_AUTO_TEST_CASE (player_silence_padding_test)
film->set_audio_channels (6);
film->examine_and_add_content (c);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
accumulated.reset (new AudioBuffers (film->audio_channels(), 0));
@@ -99,7 +99,7 @@ BOOST_AUTO_TEST_CASE (player_black_fill_test)
film->examine_and_add_content (contentA);
film->examine_and_add_content (contentB);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
contentA->video->set_scale (VideoContentScale (Ratio::from_id ("185")));
contentA->video->set_length (3);
@@ -110,7 +110,7 @@ BOOST_AUTO_TEST_CASE (player_black_fill_test)
film->make_dcp ();
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
boost::filesystem::path ref;
ref = "test";