summaryrefslogtreecommitdiff
path: root/test/file_naming_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/file_naming_test.cc
parent54bb8ec390c86f333ed4fb6e383b348035253f14 (diff)
Stop jobs silently failing in tests.
Diffstat (limited to 'test/file_naming_test.cc')
-rw-r--r--test/file_naming_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/file_naming_test.cc b/test/file_naming_test.cc
index f06fdfa42..6b5b2020d 100644
--- a/test/file_naming_test.cc
+++ b/test/file_naming_test.cc
@@ -65,11 +65,11 @@ BOOST_AUTO_TEST_CASE (file_naming_test)
film->examine_and_add_content (g);
shared_ptr<FFmpegContent> b (new FFmpegContent("test/data/flat_blue.png"));
film->examine_and_add_content (b);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
film->set_reel_type (REELTYPE_BY_VIDEO_CONTENT);
film->make_dcp ();
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
int got[3] = { 0, 0, 0 };
for (
@@ -104,11 +104,11 @@ BOOST_AUTO_TEST_CASE (file_naming_test2)
film->examine_and_add_content (g);
shared_ptr<FFmpegContent> b (new FFmpegContent("test/data/flat_blue.png"));
film->examine_and_add_content (b);
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
film->set_reel_type (REELTYPE_BY_VIDEO_CONTENT);
film->make_dcp ();
- wait_for_jobs ();
+ BOOST_REQUIRE (!wait_for_jobs());
int got[3] = { 0, 0, 0 };
for (