Remove a test directory before running.
[libdcp.git] / 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>();