diff options
Diffstat (limited to 'src/zencore-test/zencore-test.cpp')
| -rw-r--r-- | src/zencore-test/zencore-test.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/zencore-test/zencore-test.cpp b/src/zencore-test/zencore-test.cpp index 53413fb25..64df746e4 100644 --- a/src/zencore-test/zencore-test.cpp +++ b/src/zencore-test/zencore-test.cpp @@ -3,9 +3,16 @@ // zencore-test.cpp : Defines the entry point for the console application. // +#include <zencore/filesystem.h> #include <zencore/logging.h> #include <zencore/zencore.h> +#if ZEN_USE_MIMALLOC +ZEN_THIRD_PARTY_INCLUDES_START +# include <mimalloc-new-delete.h> +ZEN_THIRD_PARTY_INCLUDES_END +#endif + #if ZEN_WITH_TESTS # define ZEN_TEST_WITH_RUNNER 1 # include <zencore/testing.h> @@ -14,10 +21,14 @@ int main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[]) { +#if ZEN_USE_MIMALLOC + mi_version(); +#endif #if ZEN_WITH_TESTS zen::zencore_forcelinktests(); zen::logging::InitializeLogging(); + zen::MaximizeOpenFileCount(); return ZEN_RUN_TESTS(argc, argv); #else |