diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-04 22:04:40 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-13 18:51:11 +0200 |
| commit | 5d937606cf96d163be98920fa5619114a28eec9d (patch) | |
| tree | 8e36025e51f2eaa9476de4c48810126a2f071127 /test/atmos_test.cc | |
| parent | 7b302908e4b6186c44fd3a97aa4ba0716fb8674f (diff) | |
Fix use of DCPOMATIC_TEST_PRIVATE variable to specify where
test private data is.
Diffstat (limited to 'test/atmos_test.cc')
| -rw-r--r-- | test/atmos_test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/atmos_test.cc b/test/atmos_test.cc index e5846f20e..fe64ed6a9 100644 --- a/test/atmos_test.cc +++ b/test/atmos_test.cc @@ -38,8 +38,8 @@ using boost::shared_ptr; BOOST_AUTO_TEST_CASE (atmos_passthrough_test) { shared_ptr<Film> film = new_test_film2 ("atmos_passthrough_test"); - boost::filesystem::path ref = TestPaths::private_data / "atmos_asset.mxf"; - shared_ptr<Content> content = content_factory (TestPaths::private_data / "atmos_asset.mxf").front(); + boost::filesystem::path ref = TestPaths::private_data() / "atmos_asset.mxf"; + shared_ptr<Content> content = content_factory (TestPaths::private_data() / "atmos_asset.mxf").front(); film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs()); @@ -53,8 +53,8 @@ BOOST_AUTO_TEST_CASE (atmos_passthrough_test) BOOST_AUTO_TEST_CASE (atmos_encrypted_passthrough_test) { shared_ptr<Film> film = new_test_film2 ("atmos_encrypted_passthrough_test"); - boost::filesystem::path ref = TestPaths::private_data / "atmos_asset.mxf"; - shared_ptr<Content> content = content_factory (TestPaths::private_data / "atmos_asset.mxf").front(); + boost::filesystem::path ref = TestPaths::private_data() / "atmos_asset.mxf"; + shared_ptr<Content> content = content_factory (TestPaths::private_data() / "atmos_asset.mxf").front(); film->examine_and_add_content (content); BOOST_REQUIRE (!wait_for_jobs()); |
