diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-01-21 11:06:13 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-01-21 11:06:13 +0000 |
| commit | 6cc7359c1af897f334dab5ba455707ce0c59af9d (patch) | |
| tree | 237494ff11c3a703ece1602a51c8e7f198eeca05 /test/isdcf_name_test.cc | |
| parent | 54bb8ec390c86f333ed4fb6e383b348035253f14 (diff) | |
Stop jobs silently failing in tests.
Diffstat (limited to 'test/isdcf_name_test.cc')
| -rw-r--r-- | test/isdcf_name_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/isdcf_name_test.cc b/test/isdcf_name_test.cc index a33a6a460..c65340e1c 100644 --- a/test/isdcf_name_test.cc +++ b/test/isdcf_name_test.cc @@ -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 (); |
