summaryrefslogtreecommitdiff
path: root/src/components/test_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/test_main.cc')
-rw-r--r--src/components/test_main.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/test_main.cc b/src/components/test_main.cc
index 72c90acb5c..61606756fe 100644
--- a/src/components/test_main.cc
+++ b/src/components/test_main.cc
@@ -1,12 +1,16 @@
#include "gmock/gmock.h"
#include "utils/logger.h"
#include "utils/custom_string.h"
+#include <iostream>
+
+CREATE_LOGGERPTR_GLOBAL(logger_, "SDLMain")
int main(int argc, char** argv) {
namespace custom_str = utils::custom_string;
testing::InitGoogleMock(&argc, argv);
::testing::DefaultValue<custom_str::CustomString>::Set(
custom_str::CustomString(""));
const int result = RUN_ALL_TESTS();
+
DEINIT_LOGGER();
return result;
}