Ensure there are no errors from jobs.
authorCarl Hetherington <cth@carlh.net>
Thu, 18 May 2017 23:14:45 +0000 (00:14 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 18 May 2017 23:14:45 +0000 (00:14 +0100)
test/reels_test.cc

index a9ed07e73aadfe6c01f19755498151f4ba6d5c85..b53f26ede7743d73a28fdf7532785d5616765ad5 100644 (file)
@@ -128,7 +128,7 @@ BOOST_AUTO_TEST_CASE (reels_test2)
 
        shared_ptr<DCPContent> c (new DCPContent (film2, film->dir (film->dcp_name ())));
        film2->examine_and_add_content (c);
-       wait_for_jobs ();
+       BOOST_REQUIRE (!wait_for_jobs ());
 
        list<DCPTimePeriod> r = film2->reels ();
        BOOST_CHECK_EQUAL (r.size(), 3);