From 57ffdf6cd9602ede588ea820cc3b6a009beed58e 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: Fri, 11 Jul 2025 00:24:04 +0300 Subject: [PATCH] =?UTF-8?q?mdbx-tests:=20=D0=B4=D0=BE=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20cmake-=D1=82=D0=B5=D1=81=D1=82?= =?UTF-8?q?=D0=BE=D0=B2=20=D1=81=D1=86=D0=B5=D0=BD=D0=B0=D1=80=D0=B8=D1=8F?= =?UTF-8?q?=D0=BC=D0=B8=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B0=20`md?= =?UTF-8?q?bx=5Fcopy`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/CMakeLists.txt | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 5d79c054..c60a8995 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -220,25 +220,32 @@ else() add_test(NAME smoke_chk COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv smoke.db) set_tests_properties( smoke_chk - PROPERTIES DEPENDS - smoke - TIMEOUT - 60 - FAIL_REGULAR_EXPRESSION - "cooperative mode" - REQUIRED_FILES - smoke.db) + PROPERTIES DEPENDS smoke + TIMEOUT 60 + FAIL_REGULAR_EXPRESSION "cooperative mode" + REQUIRED_FILES smoke.db) + add_test(NAME smoke_chk_copy COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv smoke.db-copy) set_tests_properties( smoke_chk_copy - PROPERTIES DEPENDS - smoke - TIMEOUT - 60 - FAIL_REGULAR_EXPRESSION - "cooperative mode" - REQUIRED_FILES - smoke.db-copy) + PROPERTIES DEPENDS smoke + TIMEOUT 60 + FAIL_REGULAR_EXPRESSION "cooperative mode" + REQUIRED_FILES smoke.db-copy) + + add_test(NAME smoke_copy_asis COMMAND ${MDBX_OUTPUT_DIR}/mdbx_copy -f smoke.db copy_asis.db) + set_tests_properties( + smoke_copy_asis + PROPERTIES DEPENDS smoke + TIMEOUT 60 + REQUIRED_FILES smoke.db) + + add_test(NAME smoke_copy_compactify COMMAND ${MDBX_OUTPUT_DIR}/mdbx_copy -f -c smoke.db copy_compactify.db) + set_tests_properties( + smoke_copy_compactify + PROPERTIES DEPENDS smoke + TIMEOUT 60 + REQUIRED_FILES smoke.db) endif() add_test(