From b2a7942f8dc4d10acb5d179790fa005a7e3447e1 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, 14 Jul 2025 16:42:05 +0300 Subject: [PATCH] =?UTF-8?q?mdbx-cmake:=20=D0=BF=D0=B5=D1=80=D0=B5=D1=84?= =?UTF-8?q?=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=81=D0=B2=D0=BE=D0=B9=D1=81=D1=82=D0=B2?= =?UTF-8?q?=20=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D1=83=D0=B4=D0=BE=D0=B1=D0=BE=D1=87=D0=B8=D1=82=D0=B0=D0=B5?= =?UTF-8?q?=D0=BC=D0=BE=D1=81=D1=82=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/CMakeLists.txt | 79 ++++++++++++++++----------------------------- 1 file changed, 27 insertions(+), 52 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c60a8995..df9c7281 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -218,34 +218,24 @@ else() set_tests_properties(smoke PROPERTIES TIMEOUT 600 RUN_SERIAL OFF) if(MDBX_BUILD_TOOLS) 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) + set_tests_properties(smoke_chk 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) + set_tests_properties(smoke_chk_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) + 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) + set_tests_properties(smoke_copy_compactify PROPERTIES DEPENDS smoke TIMEOUT 60 REQUIRED_FILES smoke.db) endif() add_test( @@ -259,16 +249,11 @@ else() set_tests_properties(dupsort_writemap_chk PROPERTIES DEPENDS dupsort_writemap TIMEOUT 60 REQUIRED_FILES dupsort_writemap.db) add_test(NAME dupsort_writemap_chk_copy COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvvc dupsort_writemap.db-copy) - set_tests_properties( - dupsort_writemap_chk_copy - PROPERTIES DEPENDS - dupsort_writemap - TIMEOUT - 60 - FAIL_REGULAR_EXPRESSION - "monopolistic mode" - REQUIRED_FILES - dupsort_writemap.db-copy) + set_tests_properties(dupsort_writemap_chk_copy PROPERTIES + DEPENDS dupsort_writemap + TIMEOUT 60 + FAIL_REGULAR_EXPRESSION "monopolistic mode" + REQUIRED_FILES dupsort_writemap.db-copy) endif() add_test(NAME uniq_nested @@ -277,27 +262,17 @@ else() set_tests_properties(uniq_nested PROPERTIES TIMEOUT 1800 RUN_SERIAL OFF) if(MDBX_BUILD_TOOLS) add_test(NAME uniq_nested_chk COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvvw uniq_nested.db) - set_tests_properties( - uniq_nested_chk - PROPERTIES DEPENDS - uniq_nested - TIMEOUT - 60 - FAIL_REGULAR_EXPRESSION - "cooperative mode" - REQUIRED_FILES - uniq_nested.db) + set_tests_properties(uniq_nested_chk PROPERTIES + DEPENDS uniq_nested + TIMEOUT 60 + FAIL_REGULAR_EXPRESSION "cooperative mode" + REQUIRED_FILES uniq_nested.db) add_test(NAME uniq_nested_chk_copy COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv uniq_nested.db-copy) - set_tests_properties( - uniq_nested_chk_copy - PROPERTIES DEPENDS - uniq_nested - TIMEOUT - 60 - FAIL_REGULAR_EXPRESSION - "cooperative mode" - REQUIRED_FILES - uniq_nested.db-copy) + set_tests_properties(uniq_nested_chk_copy PROPERTIES + DEPENDS uniq_nested + TIMEOUT 60 + FAIL_REGULAR_EXPRESSION "cooperative mode" + REQUIRED_FILES uniq_nested.db-copy) endif() if(NOT SUBPROJECT)