summaryrefslogtreecommitdiff
path: root/test/content_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-20 17:05:16 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-20 17:05:16 +0200
commit2d5c461cbc1ebef67d0afdcb1dd2272dad58c22b (patch)
tree7ff699aaa61a5970b06dabd8e245cfb3abc767bc /test/content_test.cc
parent8366fcb9b393563a44255a445b5784e468016077 (diff)
Clean up some more tests.
Diffstat (limited to 'test/content_test.cc')
-rw-r--r--test/content_test.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/content_test.cc b/test/content_test.cc
index d5a13885d..3df2df470 100644
--- a/test/content_test.cc
+++ b/test/content_test.cc
@@ -157,10 +157,14 @@ BOOST_AUTO_TEST_CASE (content_test6)
/** Reel length error when making the test for #1833 */
BOOST_AUTO_TEST_CASE (content_test7)
{
+ Cleanup cl;
+
auto content = content_factory(TestPaths::private_data() / "clapperboard.mp4");
- auto film = new_test_film2 ("content_test7", content);
+ auto film = new_test_film2("content_test7", content, &cl);
content[0]->audio->set_delay(-1000);
make_and_verify_dcp (film, { dcp::VerificationNote::Code::INVALID_PICTURE_FRAME_RATE_FOR_2K });
+
+ cl.run();
}