diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-05-20 17:50:00 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-05-20 17:50:00 +0200 |
| commit | fe45c58741952eca798e71ad75267a3a4b7e97b9 (patch) | |
| tree | 6d11590533ed36116216a53d4d56bc8bd75a99dd /test/player_test.cc | |
| parent | 009ba2c6d40ac4f757bf3a3ac6d9f3d3e018a67d (diff) | |
More cleanups.
Diffstat (limited to 'test/player_test.cc')
| -rw-r--r-- | test/player_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/player_test.cc b/test/player_test.cc index 5c6ef2617..c91458129 100644 --- a/test/player_test.cc +++ b/test/player_test.cc @@ -389,14 +389,14 @@ BOOST_AUTO_TEST_CASE (player_trim_crash) /** Test a crash when the gap between the last audio and the start of a silent period is more than 1 sample */ BOOST_AUTO_TEST_CASE (player_silence_crash) { - auto film = new_test_film2 ("player_silence_crash"); - auto sine = content_factory("test/data/impulse_train.wav")[0]; - film->examine_and_add_content (sine); - BOOST_REQUIRE (!wait_for_jobs()); + Cleanup cl; + auto sine = content_factory("test/data/impulse_train.wav")[0]; + auto film = new_test_film2("player_silence_crash", { sine }, &cl); sine->set_video_frame_rate(film, 23.976); - film->write_metadata (); make_and_verify_dcp (film, {dcp::VerificationNote::Code::MISSING_CPL_METADATA}); + + cl.run(); } |
