diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-05-20 20:00:07 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-05-20 20:00:07 +0200 |
| commit | 19b6cd41712d38cb5b1c97659c8a1cc86e784812 (patch) | |
| tree | 71238f5628e44e2777c473418b8a4ebcf2a56e79 /test/subtitle_font_id_change_test.cc | |
| parent | fe45c58741952eca798e71ad75267a3a4b7e97b9 (diff) | |
Cleanup, and try to make a test use less disk space.
Diffstat (limited to 'test/subtitle_font_id_change_test.cc')
| -rw-r--r-- | test/subtitle_font_id_change_test.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/subtitle_font_id_change_test.cc b/test/subtitle_font_id_change_test.cc index 385dd1aae..5d4ba60e8 100644 --- a/test/subtitle_font_id_change_test.cc +++ b/test/subtitle_font_id_change_test.cc @@ -95,7 +95,9 @@ BOOST_AUTO_TEST_CASE(subtitle_font_id_change_test2) BOOST_AUTO_TEST_CASE(subtitle_font_id_change_test3) { - auto film = new_test_film2("subtitle_font_id_change_test3"); + Cleanup cl; + + auto film = new_test_film2("subtitle_font_id_change_test3", {}, &cl); boost::filesystem::remove(film->file("metadata.xml")); boost::filesystem::copy_file("test/data/subtitle_font_id_change_test3.xml", film->file("metadata.xml")); { @@ -126,6 +128,8 @@ BOOST_AUTO_TEST_CASE(subtitle_font_id_change_test3) BOOST_CHECK_EQUAL(*font->file(), "test/data/Inconsolata-VF.ttf"); make_and_verify_dcp(film, { dcp::VerificationNote::Code::INVALID_STANDARD }); + + cl.run(); } |
