1
0
Fork 0

manually initialize logger

This commit is contained in:
Andreas Streichardt 2017-04-12 14:48:11 +02:00
parent 6887cdbb43
commit f60a60a4b9
1 changed files with 13 additions and 1 deletions

View File

@ -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 );
}