summaryrefslogtreecommitdiff
path: root/test/ssa_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-04 22:04:40 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-13 18:51:11 +0200
commit5d937606cf96d163be98920fa5619114a28eec9d (patch)
tree8e36025e51f2eaa9476de4c48810126a2f071127 /test/ssa_subtitle_test.cc
parent7b302908e4b6186c44fd3a97aa4ba0716fb8674f (diff)
Fix use of DCPOMATIC_TEST_PRIVATE variable to specify where
test private data is.
Diffstat (limited to 'test/ssa_subtitle_test.cc')
-rw-r--r--test/ssa_subtitle_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ssa_subtitle_test.cc b/test/ssa_subtitle_test.cc
index a7b27e2f3..bb37358f1 100644
--- a/test/ssa_subtitle_test.cc
+++ b/test/ssa_subtitle_test.cc
@@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE (ssa_subtitle_test1)
film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR"));
film->set_name ("frobozz");
film->set_interop (true);
- shared_ptr<StringTextFileContent> content (new StringTextFileContent(TestPaths::private_data / "DKH_UT_EN20160601def.ssa"));
+ shared_ptr<StringTextFileContent> content (new StringTextFileContent(TestPaths::private_data() / "DKH_UT_EN20160601def.ssa"));
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs());
@@ -60,5 +60,5 @@ BOOST_AUTO_TEST_CASE (ssa_subtitle_test1)
/* Find the subtitle file and check it */
list<string> ignore;
ignore.push_back ("SubtitleID");
- check_xml (subtitle_file(film), TestPaths::private_data / "DKH_UT_EN20160601def.xml", ignore);
+ check_xml (subtitle_file(film), TestPaths::private_data() / "DKH_UT_EN20160601def.xml", ignore);
}