summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-02-17 00:23:06 +0000
committerCarl Hetherington <cth@carlh.net>2018-02-17 00:23:06 +0000
commit996efed5e50a17bd1ac570dd3d11d153286ccac7 (patch)
tree5b0bc8d729edb3c150233ecf4dadc1dff7945cad
parentaf2797a67f11e5cd06460f7ee582855feec3b5b5 (diff)
Fix up test.
-rw-r--r--test/import_dcp_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/import_dcp_test.cc b/test/import_dcp_test.cc
index 137e6b125..8df64dc09 100644
--- a/test/import_dcp_test.cc
+++ b/test/import_dcp_test.cc
@@ -30,6 +30,8 @@
#include "lib/dcp_content_type.h"
#include "lib/dcp_content.h"
#include "lib/ffmpeg_content.h"
+#include "lib/examine_content_job.h"
+#include "lib/job_manager.h"
#include "lib/config.h"
#include "lib/cross.h"
#include <dcp/cpl.h>
@@ -79,6 +81,7 @@ BOOST_AUTO_TEST_CASE (import_dcp_test)
B->examine_and_add_content (d);
BOOST_CHECK (!wait_for_jobs ());
d->add_kdm (kdm);
+ JobManager::instance()->add (shared_ptr<Job> (new ExamineContentJob (B, d)));
BOOST_CHECK (!wait_for_jobs ());
B->make_dcp ();