summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-17 23:19:44 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-18 01:37:25 +0200
commitbfb4b5794578dcb3023c6fc90c13f45e376e6a11 (patch)
tree6fb8f8acececfb54dc3a419c09d9cefd80f01b12
parentd9ab996fa416ba27b69bb65f047a1a1aa4063f1b (diff)
Add new version of check_dcp().
-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);