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/empty_test.cc | |
| parent | 54bb8ec390c86f333ed4fb6e383b348035253f14 (diff) | |
Stop jobs silently failing in tests.
Diffstat (limited to 'test/empty_test.cc')
| -rw-r--r-- | test/empty_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/empty_test.cc b/test/empty_test.cc index 890185267..86ce2075c 100644 --- a/test/empty_test.cc +++ b/test/empty_test.cc @@ -49,7 +49,7 @@ BOOST_AUTO_TEST_CASE (empty_test1) film->examine_and_add_content (contentA); film->examine_and_add_content (contentB); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); int const vfr = film->video_frame_rate (); @@ -82,7 +82,7 @@ BOOST_AUTO_TEST_CASE (empty_test2) film->examine_and_add_content (contentA); film->examine_and_add_content (contentB); - wait_for_jobs (); + BOOST_REQUIRE (!wait_for_jobs()); int const vfr = film->video_frame_rate (); |
