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 a9ed07e..b53f26e 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);