mdbx-cmake: вызов mdbx_chk в режиме чтения-записи для проверки MDBX_EXCLUSIVE в этом режиме.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2023-01-12 01:42:14 +03:00
parent 9e15bd9b29
commit a98c73f4f6
2 changed files with 9 additions and 3 deletions

View File

@ -25,6 +25,7 @@ and [by Yandex](https://translated.turbopages.org/proxy_u/ru-en.en/https/gitflic
- Исправление опечаток. - Исправление опечаток.
- Доработка теста для полной стохастической проверки `MDBX_EKEYMISMATCH` в режиме `MDBX_APPEND`. - Доработка теста для полной стохастической проверки `MDBX_EKEYMISMATCH` в режиме `MDBX_APPEND`.
- Добавление в CMake-тесты вызова mdbx_chk в режиме чтения-записи для проверки MDBX_EXCLUSIVE в этом режиме.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------

View File

@ -92,11 +92,13 @@ else()
set_tests_properties(smoke_chk PROPERTIES set_tests_properties(smoke_chk PROPERTIES
DEPENDS smoke DEPENDS smoke
TIMEOUT 60 TIMEOUT 60
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(smoke_chk_copy PROPERTIES set_tests_properties(smoke_chk_copy PROPERTIES
DEPENDS smoke DEPENDS smoke
TIMEOUT 60 TIMEOUT 60
FAIL_REGULAR_EXPRESSION "cooperative mode"
REQUIRED_FILES smoke.db-copy) REQUIRED_FILES smoke.db-copy)
endif() endif()
@ -109,15 +111,16 @@ else()
TIMEOUT 600 TIMEOUT 600
RUN_SERIAL OFF) RUN_SERIAL OFF)
if(MDBX_BUILD_TOOLS) if(MDBX_BUILD_TOOLS)
add_test(NAME dupsort_writemap_chk COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv dupsort_writemap.db) add_test(NAME dupsort_writemap_chk COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvvwc dupsort_writemap.db)
set_tests_properties(dupsort_writemap_chk PROPERTIES set_tests_properties(dupsort_writemap_chk PROPERTIES
DEPENDS dupsort_writemap DEPENDS dupsort_writemap
TIMEOUT 60 TIMEOUT 60
REQUIRED_FILES dupsort_writemap.db) REQUIRED_FILES dupsort_writemap.db)
add_test(NAME dupsort_writemap_chk_copy COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv 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(dupsort_writemap_chk_copy PROPERTIES set_tests_properties(dupsort_writemap_chk_copy PROPERTIES
DEPENDS dupsort_writemap DEPENDS dupsort_writemap
TIMEOUT 60 TIMEOUT 60
FAIL_REGULAR_EXPRESSION "monopolistic mode"
REQUIRED_FILES dupsort_writemap.db-copy) REQUIRED_FILES dupsort_writemap.db-copy)
endif() endif()
@ -128,15 +131,17 @@ else()
TIMEOUT 1800 TIMEOUT 1800
RUN_SERIAL OFF) RUN_SERIAL OFF)
if(MDBX_BUILD_TOOLS) if(MDBX_BUILD_TOOLS)
add_test(NAME uniq_nested_chk COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvv uniq_nested.db) add_test(NAME uniq_nested_chk COMMAND ${MDBX_OUTPUT_DIR}/mdbx_chk -nvvw uniq_nested.db)
set_tests_properties(uniq_nested_chk PROPERTIES set_tests_properties(uniq_nested_chk PROPERTIES
DEPENDS uniq_nested DEPENDS uniq_nested
TIMEOUT 60 TIMEOUT 60
FAIL_REGULAR_EXPRESSION "cooperative mode"
REQUIRED_FILES uniq_nested.db) 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(uniq_nested_chk_copy PROPERTIES set_tests_properties(uniq_nested_chk_copy PROPERTIES
DEPENDS uniq_nested DEPENDS uniq_nested
TIMEOUT 60 TIMEOUT 60
FAIL_REGULAR_EXPRESSION "cooperative mode"
REQUIRED_FILES uniq_nested.db-copy) REQUIRED_FILES uniq_nested.db-copy)
endif() endif()