Clean up another big test.
authorCarl Hetherington <cth@carlh.net>
Mon, 20 May 2024 14:58:55 +0000 (16:58 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 20 May 2024 14:58:55 +0000 (16:58 +0200)
test/content_test.cc

index 45e2638aa5571623eda9e5b81c53150f09d9a19e..d5a13885dede91e57e5995dacd3232e42d13a0f6 100644 (file)
@@ -167,7 +167,11 @@ BOOST_AUTO_TEST_CASE (content_test7)
 /** WAVs with markers (I think) can end up making audio packets with no channels and no frames (#2617) */
 BOOST_AUTO_TEST_CASE(wav_with_markers_zero_channels_test)
 {
+       Cleanup cl;
+
        auto content = content_factory(TestPaths::private_data() / "wav_with_markers.wav");
-       auto film = new_test_film2("wav_with_markers_zero_channels_test", content);
+       auto film = new_test_film2("wav_with_markers_zero_channels_test", content, &cl);
        make_and_verify_dcp(film, { dcp::VerificationNote::Code::MISSING_CPL_METADATA });
+
+       cl.run();
 }