From 875d15256aab7ebf9e9b0548b68d88056695d1cc Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 18 Feb 2020 20:21:51 +0100 Subject: [PATCH 1/1] 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 836e74f52..c0d5d776f 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