From d88285ef4d2b624a0c6a8ef5c2e157ed0248838e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 12 Sep 2017 18:47:07 +0300 Subject: Create logger in unit tests before other code. This need because now sdl may raise error or assert almost at start. --- src/unittests/sdl.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/unittests/sdl.cc') diff --git a/src/unittests/sdl.cc b/src/unittests/sdl.cc index eaf744329..3994ea7f4 100644 --- a/src/unittests/sdl.cc +++ b/src/unittests/sdl.cc @@ -61,7 +61,6 @@ TEST_CASE("sdl tests", "sdl") client = new Client; XML::initXML(); SDL_Init(SDL_INIT_VIDEO); - logger = new Logger(); std::string name("data/test/test.zip"); std::string prefix; if (Files::existsLocal(name) == false) @@ -403,6 +402,4 @@ TEST_CASE("sdl tests", "sdl") VirtFs::unmountDirSilent("data"); VirtFs::unmountDirSilent("../data"); - delete2(logger); -// VirtFs::deinit(); } -- cgit v1.2.3-70-g09d2