Fix unreliable test.
authorCarl Hetherington <cth@carlh.net>
Fri, 2 Dec 2022 18:40:56 +0000 (19:40 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 2 Dec 2022 18:40:56 +0000 (19:40 +0100)
test/dcp_subtitle_test.cc

index fe95cbbfc13da7c4b079f6ef27619851c3953d4b..a7ec34514876ba3075afdbda9cca6a45a6d0486f 100644 (file)
@@ -305,6 +305,7 @@ BOOST_AUTO_TEST_CASE(entity_from_dcp_source)
 
        /* Remake with burn */
        content->only_text()->set_burn(true);
 
        /* Remake with burn */
        content->only_text()->set_burn(true);
+       boost::filesystem::remove_all(film->dir(film->dcp_name()));
        make_and_verify_dcp (
                film,
                {
        make_and_verify_dcp (
                film,
                {