From 648b8ed1987f4a254a71fca4c2c420ab9a9e80f1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 18 Feb 2020 20:17:39 +0100 Subject: [PATCH] Write logs during tests to a file. --- test/test.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test.cc b/test/test.cc index a9d3ed1c7..bf27c0cf1 100644 --- a/test/test.cc +++ b/test/test.cc @@ -35,6 +35,8 @@ #include "lib/dcp_content_type.h" #include "lib/log_entry.h" #include "lib/compose.hpp" +#include "lib/file_log.h" +#include "lib/dcpomatic_log.h" #include "test.h" #include #include @@ -113,6 +115,8 @@ struct TestConfig if (env_private) { private_data = env_private; } + + dcpomatic_log.reset (new FileLog("build/test/log")); } ~TestConfig () -- 2.30.2