Fix use of DCPOMATIC_TEST_PRIVATE variable to specify where
[dcpomatic.git] / test / atmos_test.cc
index 019e2d2fbba77627bb44bf7d9d8265268da02c95..fe64ed6a92d856ae4bc54d650dd8e85fc1305fea 100644 (file)
@@ -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());
 
@@ -82,7 +82,6 @@ BOOST_AUTO_TEST_CASE (atmos_encrypted_passthrough_test)
        film2->examine_and_add_content (content2);
        BOOST_REQUIRE (!wait_for_jobs());
 
-       std::cout << "making 2nd dcp.\n";
        film2->make_dcp ();
        BOOST_REQUIRE (!wait_for_jobs());