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/j2k_bandwidth_test.cc | |
| parent | 54bb8ec390c86f333ed4fb6e383b348035253f14 (diff) | |
Stop jobs silently failing in tests.
Diffstat (limited to 'test/j2k_bandwidth_test.cc')
| -rw-r--r-- | test/j2k_bandwidth_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/j2k_bandwidth_test.cc b/test/j2k_bandwidth_test.cc index 92f6f90d8..40309df87 100644 --- a/test/j2k_bandwidth_test.cc +++ b/test/j2k_bandwidth_test.cc @@ -47,10 +47,10 @@ check (int target_bits_per_second) film->set_j2k_bandwidth (target_bits_per_second); shared_ptr<ImageContent> content (new ImageContent(private_data / "prophet_frame.tiff")); film->examine_and_add_content (content); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); content->video->set_length (24 * duration); film->make_dcp (); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); boost::filesystem::directory_iterator i (boost::filesystem::path ("build") / "test" / name / "video"); boost::filesystem::path test = *i++; |
