mdbx-cmake: переформатирование свойств тестов для удобочитаемости.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2025-07-14 16:42:05 +03:00
parent 2b115069c1
commit b2a7942f8d

View File

@ -218,34 +218,24 @@ else()
set_tests_properties(smoke PROPERTIES TIMEOUT 600 RUN_SERIAL OFF) set_tests_properties(smoke PROPERTIES TIMEOUT 600 RUN_SERIAL OFF)
if(MDBX_BUILD_TOOLS) if(MDBX_BUILD_TOOLS)
add_test(NAME smoke_chk COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv smoke.db) add_test(NAME smoke_chk COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv smoke.db)
set_tests_properties( set_tests_properties(smoke_chk PROPERTIES
smoke_chk DEPENDS smoke
PROPERTIES DEPENDS smoke TIMEOUT 60
TIMEOUT 60 FAIL_REGULAR_EXPRESSION "cooperative mode"
FAIL_REGULAR_EXPRESSION "cooperative mode" REQUIRED_FILES smoke.db)
REQUIRED_FILES smoke.db)
add_test(NAME smoke_chk_copy COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv smoke.db-copy) add_test(NAME smoke_chk_copy COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv smoke.db-copy)
set_tests_properties( set_tests_properties(smoke_chk_copy PROPERTIES
smoke_chk_copy DEPENDS smoke
PROPERTIES DEPENDS smoke TIMEOUT 60
TIMEOUT 60 FAIL_REGULAR_EXPRESSION "cooperative mode"
FAIL_REGULAR_EXPRESSION "cooperative mode" REQUIRED_FILES smoke.db-copy)
REQUIRED_FILES smoke.db-copy)
add_test(NAME smoke_copy_asis COMMAND ${MDBX_OUTPUT_DIR}/mdbx_copy -f smoke.db copy_asis.db) add_test(NAME smoke_copy_asis COMMAND ${MDBX_OUTPUT_DIR}/mdbx_copy -f smoke.db copy_asis.db)
set_tests_properties( set_tests_properties(smoke_copy_asis PROPERTIES DEPENDS smoke TIMEOUT 60 REQUIRED_FILES smoke.db)
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) add_test(NAME smoke_copy_compactify COMMAND ${MDBX_OUTPUT_DIR}/mdbx_copy -f -c smoke.db copy_compactify.db)
set_tests_properties( set_tests_properties(smoke_copy_compactify PROPERTIES DEPENDS smoke TIMEOUT 60 REQUIRED_FILES smoke.db)
smoke_copy_compactify
PROPERTIES DEPENDS smoke
TIMEOUT 60
REQUIRED_FILES smoke.db)
endif() endif()
add_test( add_test(
@ -259,16 +249,11 @@ else()
set_tests_properties(dupsort_writemap_chk PROPERTIES DEPENDS dupsort_writemap TIMEOUT 60 REQUIRED_FILES set_tests_properties(dupsort_writemap_chk PROPERTIES DEPENDS dupsort_writemap TIMEOUT 60 REQUIRED_FILES
dupsort_writemap.db) dupsort_writemap.db)
add_test(NAME dupsort_writemap_chk_copy COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvvc dupsort_writemap.db-copy) add_test(NAME dupsort_writemap_chk_copy COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvvc dupsort_writemap.db-copy)
set_tests_properties( set_tests_properties(dupsort_writemap_chk_copy PROPERTIES
dupsort_writemap_chk_copy DEPENDS dupsort_writemap
PROPERTIES DEPENDS TIMEOUT 60
dupsort_writemap FAIL_REGULAR_EXPRESSION "monopolistic mode"
TIMEOUT REQUIRED_FILES dupsort_writemap.db-copy)
60
FAIL_REGULAR_EXPRESSION
"monopolistic mode"
REQUIRED_FILES
dupsort_writemap.db-copy)
endif() endif()
add_test(NAME uniq_nested add_test(NAME uniq_nested
@ -277,27 +262,17 @@ else()
set_tests_properties(uniq_nested PROPERTIES TIMEOUT 1800 RUN_SERIAL OFF) set_tests_properties(uniq_nested PROPERTIES TIMEOUT 1800 RUN_SERIAL OFF)
if(MDBX_BUILD_TOOLS) if(MDBX_BUILD_TOOLS)
add_test(NAME uniq_nested_chk COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvvw uniq_nested.db) add_test(NAME uniq_nested_chk COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvvw uniq_nested.db)
set_tests_properties( set_tests_properties(uniq_nested_chk PROPERTIES
uniq_nested_chk DEPENDS uniq_nested
PROPERTIES DEPENDS TIMEOUT 60
uniq_nested FAIL_REGULAR_EXPRESSION "cooperative mode"
TIMEOUT REQUIRED_FILES uniq_nested.db)
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) add_test(NAME uniq_nested_chk_copy COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv uniq_nested.db-copy)
set_tests_properties( set_tests_properties(uniq_nested_chk_copy PROPERTIES
uniq_nested_chk_copy DEPENDS uniq_nested
PROPERTIES DEPENDS TIMEOUT 60
uniq_nested FAIL_REGULAR_EXPRESSION "cooperative mode"
TIMEOUT REQUIRED_FILES uniq_nested.db-copy)
60
FAIL_REGULAR_EXPRESSION
"cooperative mode"
REQUIRED_FILES
uniq_nested.db-copy)
endif() endif()
if(NOT SUBPROJECT) if(NOT SUBPROJECT)