Don't build tests on 16.04 as the boost test version can't cope with the depends...
[dcpomatic.git] / test / isdcf_name_test.cc
index a33a6a460d12a558b0f6d99a40e72bc525d95d88..c65340e1c3e8c7339dc369f694318621983f13d5 100644 (file)
@@ -90,7 +90,7 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test)
 
        shared_ptr<ImageContent> content (new ImageContent ("test/data/simple_testcard_640x480.png"));
        film->examine_and_add_content (content);
-       wait_for_jobs ();
+       BOOST_REQUIRE (!wait_for_jobs());
        content->video->set_scale (VideoContentScale (Ratio::from_id ("133")));
        film->set_container (Ratio::from_id ("185"));
        BOOST_CHECK_EQUAL (film->isdcf_name(false), "MyNiceFilmWith_TLR-2_F_DE-fr_US-R_MOS_4K_DI_20140704_PP_SMPTE_OV");
@@ -151,7 +151,7 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test)
        film->set_audio_channels (6);
        shared_ptr<FFmpegContent> sound (new FFmpegContent("test/data/sine_440.wav"));
        film->examine_and_add_content (sound);
-       wait_for_jobs ();
+       BOOST_REQUIRE (!wait_for_jobs());
        BOOST_CHECK_EQUAL (film->isdcf_name(false), "LikeShouting_XSN-2_F-133_DE-fr_US-R_10_4K_DI_20140704_PP_SMPTE_OV");
 
        AudioMapping mapping = sound->audio->mapping ();