diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/tests.cc | 6 | ||||
| -rw-r--r-- | test/wscript | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/test/tests.cc b/test/tests.cc index 71796f72..d27b2ea4 100644 --- a/test/tests.cc +++ b/test/tests.cc @@ -56,6 +56,8 @@ wav (libdcp::Channel) BOOST_AUTO_TEST_CASE (dcp_test) { + libdcp::init (); + Kumu::libdcp_test = true; libdcp::Metadata* t = libdcp::Metadata::instance (); @@ -598,7 +600,11 @@ BOOST_AUTO_TEST_CASE (encryption) boost::filesystem::remove_all ("build/test/bar"); boost::filesystem::create_directories ("build/test/bar"); libdcp::DCP d ("build/test/bar"); + d.set_encrypted (true); + d.set_certificates (libdcp::CertificateChain ("test/data/certificate_chain")); + d.set_signer_key ("test/data/signer.key"); shared_ptr<libdcp::CPL> cpl (new libdcp::CPL ("build/test/bar", "A Test DCP", libdcp::FEATURE, 24, 24)); + shared_ptr<libdcp::MonoPictureAsset> mp (new libdcp::MonoPictureAsset ( j2c, diff --git a/test/wscript b/test/wscript index 43ca7d73..d22875e9 100644 --- a/test/wscript +++ b/test/wscript @@ -18,7 +18,7 @@ def configure(conf): def build(bld): obj = bld(features = 'cxx cxxprogram') obj.name = 'tests' - obj.uselib = 'BOOST_TEST OPENJPEG' + obj.uselib = 'BOOST_TEST OPENJPEG XMLSEC1' obj.use = 'libdcp' obj.source = 'tests.cc' obj.target = 'tests' |
