From 979452c78fe2b9aeb6a802d2d900fb83083f9a8a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 24 Nov 2018 15:00:53 +0000 Subject: Fix tests. --- test/optimise_stills_test.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/optimise_stills_test.cc b/test/optimise_stills_test.cc index 3e69c95b6..d9f8d262a 100644 --- a/test/optimise_stills_test.cc +++ b/test/optimise_stills_test.cc @@ -28,6 +28,7 @@ #include "lib/dcp_content_type.h" #include "lib/content.h" #include "lib/video_content.h" +#include "lib/dcpomatic_log.h" #include "test.h" #include #include @@ -72,6 +73,7 @@ check (string name, int check_full, int check_repeat) BOOST_AUTO_TEST_CASE (optimise_stills_test1) { shared_ptr film = new_test_film ("optimise_stills_test1"); + dcpomatic_log = film->log (); film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR")); film->set_name ("frobozz"); @@ -88,6 +90,7 @@ BOOST_AUTO_TEST_CASE (optimise_stills_test1) BOOST_AUTO_TEST_CASE (optimise_stills_test2) { shared_ptr film = new_test_film ("optimise_stills_test2"); + dcpomatic_log = film->log (); film->set_container (Ratio::from_id ("185")); film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TLR")); film->set_name ("frobozz"); -- cgit v1.2.3