Remove a test directory before running. v1.8.50
authorCarl Hetherington <cth@carlh.net>
Sun, 8 Jan 2023 13:19:00 +0000 (14:19 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 8 Jan 2023 13:24:47 +0000 (14:24 +0100)
test/dcp_font_test.cc

index f4db1c20fb4f79b05f46fa15d0772e18082771c0..7cb55c463abeed0848ee1f2dd2242a15ac83a123 100644 (file)
@@ -57,6 +57,7 @@ using boost::shared_array;
 BOOST_AUTO_TEST_CASE (interop_dcp_font_test)
 {
        boost::filesystem::path directory = "build/test/interop_dcp_font_test";
+       boost::filesystem::remove_all(directory);
        dcp::DCP dcp (directory);
 
        auto subs = make_shared<dcp::InteropSubtitleAsset>();