From f60a60a4b99bf8f73fdac60cd5d062024d5031e6 Mon Sep 17 00:00:00 2001 From: Andreas Streichardt Date: Wed, 12 Apr 2017 14:48:11 +0200 Subject: [PATCH] manually initialize logger --- tests/main.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/main.cpp b/tests/main.cpp index 0c7c351f43..93bcdad4eb 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -1,2 +1,14 @@ -#define CATCH_CONFIG_MAIN +#define CATCH_CONFIG_RUNNER #include "catch.hpp" +#include "Logger/Logger.h" + +int main( int argc, char* argv[] ) +{ + // global setup... + arangodb::Logger::initialize(false); + int result = Catch::Session().run( argc, argv ); + arangodb::Logger::shutdown(); + // global clean-up... + + return ( result < 0xff ? result : 0xff ); +} \ No newline at end of file