From ca2dbf0933b1b8135a1c8ba05707d0980ced9069 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: Tue, 8 Oct 2024 12:24:30 +0300 Subject: [PATCH] =?UTF-8?q?mdbx-testing:=20=D1=83=D0=BC=D0=B5=D0=BD=D1=8C?= =?UTF-8?q?=D1=88=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BB-=D0=B2?= =?UTF-8?q?=D0=B0=20=D0=B8=D1=82=D0=B5=D1=80=D0=B0=D1=86=D0=B8=D0=B9=20`ex?= =?UTF-8?q?tra/crunched-delete`=20=D0=B4=D0=BB=D1=8F=20CI.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 4 ++++ test/extra/crunched_delete.c++ | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7eb016d..605f2248 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -656,6 +656,10 @@ else() set(MDBX_ENABLE_TESTS FALSE) endif() +if(CI) + add_definitions(-DMDBX_CI="${CI}") +endif() + ################################################################################ ################################################################################ diff --git a/test/extra/crunched_delete.c++ b/test/extra/crunched_delete.c++ index e47a0c35..2d14f423 100644 --- a/test/extra/crunched_delete.c++ +++ b/test/extra/crunched_delete.c++ @@ -7,6 +7,8 @@ #if MDBX_DEBUG || !defined(NDEBUG) || defined(__APPLE__) || defined(_WIN32) #define NN 1024 +#elif defined(MDBX_CI) +#define NN 4096 #else #define NN 16384 #endif