From 0e831f42cc5a4e3f769e669f327a42e5a7f5b758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Mon, 20 May 2024 11:14:23 +0300 Subject: [PATCH] =?UTF-8?q?mdbx-testing:=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=83=D1=80=D0=BE=D0=B2=D0=BD=D1=8F?= =?UTF-8?q?=20=D0=BB=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=BF=D0=BE-=D1=83=D0=BC=D0=BE=D0=BB=D1=87=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D1=8E.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/main.c++ | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/main.c++ b/test/main.c++ index 7c07f2fe..6b482807 100644 --- a/test/main.c++ +++ b/test/main.c++ @@ -115,10 +115,14 @@ MDBX_NORETURN void usage(void) { void actor_params::set_defaults(const std::string &tmpdir) { pathname_log = ""; loglevel = -#if defined(NDEBUG) || defined(_WIN32) || defined(_WIN64) +#if MDBX_DEBUG < 1 + logging::verbose; +#elif MDBX_DEBUG > 1 + logging::trace; +#elif defined(_WIN32) || defined(_WIN64) || defined(__APPLE__) logging::verbose; #else - logging::trace; + logging::debug; #endif pathname_db = tmpdir + "mdbx-test.db";