summaryrefslogtreecommitdiff
path: root/test/write_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-12 15:37:13 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-12 15:37:13 +0200
commit09d3fd999cd9dae6e5b9b3db69af3452ab0fadf2 (patch)
tree910a774ab382c02bdc6c5b9f8da5113ddbca34a9 /test/write_subtitle_test.cc
parent2a4723250dd574a53775864034578120ddce5ffe (diff)
Fix up some tests.
Diffstat (limited to 'test/write_subtitle_test.cc')
-rw-r--r--test/write_subtitle_test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/write_subtitle_test.cc b/test/write_subtitle_test.cc
index 074068f4..30220420 100644
--- a/test/write_subtitle_test.cc
+++ b/test/write_subtitle_test.cc
@@ -354,6 +354,7 @@ BOOST_AUTO_TEST_CASE (write_interop_subtitle_test3)
);
c->_id = "a6c58cff-3e1e-4b38-acec-a42224475ef6";
+ boost::filesystem::remove_all ("build/test/write_interop_subtitle_test3");
boost::filesystem::create_directories ("build/test/write_interop_subtitle_test3");
c->write ("build/test/write_interop_subtitle_test3/subs.xml");
@@ -380,7 +381,7 @@ BOOST_AUTO_TEST_CASE (write_interop_subtitle_test3)
dcp::file_to_string("build/test/write_interop_subtitle_test3/subs.xml"),
list<string>()
);
- check_file ("build/test/write_interop_subtitle_test3/ef5c6baa-be2d-4f86-9f15-b1acc792ee8b.png", "test/data/sub.png");
+ check_file ("build/test/write_interop_subtitle_test3/d36f4bb3-c4fa-4a95-9915-6fec3110cd71.png", "test/data/sub.png");
check_xml (
dcp::file_to_string("test/ref/write_interop_subtitle_test3/ASSETMAP"),
@@ -390,7 +391,7 @@ BOOST_AUTO_TEST_CASE (write_interop_subtitle_test3)
check_xml (
dcp::file_to_string("test/ref/write_interop_subtitle_test3/pkl.xml"),
- dcp::file_to_string("build/test/write_interop_subtitle_test3/pkl_f5aab304-8145-44e3-a265-aa8d8812d8a2.xml"),
+ dcp::file_to_string("build/test/write_interop_subtitle_test3/pkl_e94b8a0d-27f7-408a-af16-78d3df419a91.xml"),
list<string>()
);
}