diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-12 18:47:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-12 18:47:07 +0300 |
commit | d88285ef4d2b624a0c6a8ef5c2e157ed0248838e (patch) | |
tree | 21c77124f72c023590f0d1b0426eb9357305201e /src/unittests/utils/dumplibs.cc | |
parent | 429a545dbd5d0fa992394cf7f4c83d5e972a14b2 (diff) | |
download | manaverse-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.tar.gz manaverse-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.tar.bz2 manaverse-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.tar.xz manaverse-d88285ef4d2b624a0c6a8ef5c2e157ed0248838e.zip |
Create logger in unit tests before other code.
This need because now sdl may raise error or assert almost at start.
Diffstat (limited to 'src/unittests/utils/dumplibs.cc')
-rw-r--r-- | src/unittests/utils/dumplibs.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/unittests/utils/dumplibs.cc b/src/unittests/utils/dumplibs.cc index 35b80c710..e5797d45f 100644 --- a/src/unittests/utils/dumplibs.cc +++ b/src/unittests/utils/dumplibs.cc @@ -20,9 +20,6 @@ #include "unittests/unittests.h" -#include "logger.h" - -#include "utils/delete2.h" #include "utils/stringutils.h" PRAGMA48(GCC diagnostic push) @@ -42,8 +39,6 @@ PRAGMA48(GCC diagnostic pop) TEST_CASE("dumplibs tests", "") { - logger = new Logger(); - SECTION("zlib") { const std::string build = ZLIB_VERSION; @@ -140,6 +135,4 @@ TEST_CASE("dumplibs tests", "") REQUIRE(build == link); } - - delete2(logger); } |