summaryrefslogtreecommitdiff
path: root/test/srt_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/srt_subtitle_test.cc
parent7b302908e4b6186c44fd3a97aa4ba0716fb8674f (diff)
Fix use of DCPOMATIC_TEST_PRIVATE variable to specify where
test private data is.
Diffstat (limited to 'test/srt_subtitle_test.cc')
-rw-r--r--test/srt_subtitle_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/srt_subtitle_test.cc b/test/srt_subtitle_test.cc
index a84c27c82..5fbe3058d 100644
--- a/test/srt_subtitle_test.cc
+++ b/test/srt_subtitle_test.cc
@@ -105,7 +105,7 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test3)
film->set_name ("frobozz");
film->set_interop (true);
film->set_audio_channels (6);
- shared_ptr<StringTextFileContent> content (new StringTextFileContent(TestPaths::private_data / "Ankoemmling_short.srt"));
+ shared_ptr<StringTextFileContent> content (new StringTextFileContent(TestPaths::private_data() / "Ankoemmling_short.srt"));
film->examine_and_add_content (content);
BOOST_REQUIRE (!wait_for_jobs());
@@ -115,7 +115,7 @@ BOOST_AUTO_TEST_CASE (srt_subtitle_test3)
film->make_dcp ();
BOOST_REQUIRE (!wait_for_jobs());
- check_subtitle_file (film, TestPaths::private_data / "Ankoemmling_short.xml");
+ check_subtitle_file (film, TestPaths::private_data() / "Ankoemmling_short.xml");
}
/** Build a small DCP with no picture and a single subtitle overlaid onto it */