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/fs/virtfs/virtfs1_mountdir.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/unittests/fs/virtfs/virtfs1_mountdir.cc') diff --git a/src/unittests/fs/virtfs/virtfs1_mountdir.cc b/src/unittests/fs/virtfs/virtfs1_mountdir.cc index 6de4f68d9..a4a9dd648 100644 --- a/src/unittests/fs/virtfs/virtfs1_mountdir.cc +++ b/src/unittests/fs/virtfs/virtfs1_mountdir.cc @@ -24,7 +24,6 @@ #include "fs/virtfs/fs.h" #include "utils/checkutils.h" -#include "utils/delete2.h" #ifndef UNITTESTS_CATCH #include @@ -35,7 +34,6 @@ TEST_CASE("VirtFs1 mountDir", "") { VirtFs::init("."); - logger = new Logger(); const std::string sep = dirSeparator; SECTION("simple 1") { @@ -470,5 +468,4 @@ TEST_CASE("VirtFs1 mountDir", "") } VirtFs::deinit(); - delete2(logger); } -- cgit v1.2.3-70-g09d2