summaryrefslogtreecommitdiff
path: root/test/content_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-02-02 16:36:31 +0100
committerCarl Hetherington <cth@carlh.net>2021-02-02 16:36:31 +0100
commit369821c41e62d4cce506cd4206f9db0d91b4f643 (patch)
tree2c990929b56ef47d99495a8aa22a23f626420885 /test/content_test.cc
parentb539d468acc3ca73cc58a4434002e511a4995f7d (diff)
Reduce the disk space needed when running tests.v2.15.124
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 0815e16c2..cf34251f5 100644
--- a/test/content_test.cc
+++ b/test/content_test.cc
@@ -156,12 +156,16 @@ BOOST_AUTO_TEST_CASE (content_test5)
/** Sync error #1833 */
BOOST_AUTO_TEST_CASE (content_test6)
{
- shared_ptr<Film> film = new_test_film2 ("content_test6");
+ Cleanup cl;
+
+ auto film = new_test_film2 ("content_test6", &cl);
film->examine_and_add_content (content_factory(TestPaths::private_data() / "fha.mkv").front());
BOOST_REQUIRE (!wait_for_jobs());
film->make_dcp ();
BOOST_REQUIRE (!wait_for_jobs());
check_dcp (TestPaths::private_data() / "fha", film);
+
+ cl.run ();
}