summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test.cc8
-rw-r--r--test/test.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/test/test.cc b/test/test.cc
index 8f92024fc..9be0d4711 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -297,6 +297,14 @@ note (dcp::NoteType t, string n)
}
}
+
+void
+check_dcp (boost::filesystem::path ref, shared_ptr<const Film> film)
+{
+ check_dcp (ref, film->dir(film->dcp_name()));
+}
+
+
void
check_dcp (boost::filesystem::path ref, boost::filesystem::path check)
{
diff --git a/test/test.h b/test/test.h
index 8ccebb5fe..d793363d5 100644
--- a/test/test.h
+++ b/test/test.h
@@ -37,6 +37,7 @@ extern void setup_test_config ();
extern boost::shared_ptr<Film> new_test_film (std::string);
extern boost::shared_ptr<Film> new_test_film2 (std::string);
extern void check_dcp (boost::filesystem::path, boost::filesystem::path);
+extern void check_dcp (boost::filesystem::path, boost::shared_ptr<const Film>);
extern void check_file (boost::filesystem::path ref, boost::filesystem::path check);
extern void check_wav_file (boost::filesystem::path ref, boost::filesystem::path check);
extern void check_mxf_audio_file (boost::filesystem::path ref, boost::filesystem::path check);