- QEMU virtual disk migration with enabled iothread is finally fixed correctly. - Fixed operation of Proxmox VMs with swTPM without enabling NBD for all disks. - Debian packages are now again built with stable Antietcd released instead of the unstable master branch. - Antietcd cluster mode previously broken in that master branch is fixed. The symptom was Antietcd being unable to elect the leader in a cluster. - Fixed monitor startup with embedded Antietcd when using IPv6. - Fixed space statistics calculation for FS and S3 pools in the new storage ([PR #127](https://github.com/vitalif/vitastor/pull/127)).
21 lines
1.1 KiB
CMake
21 lines
1.1 KiB
CMake
cmake_minimum_required(VERSION 2.8...3.30)
|
|
|
|
project(vitastor)
|
|
|
|
set(VITASTOR_VERSION "3.0.15")
|
|
|
|
include(CTest)
|
|
|
|
add_custom_target(build_tests)
|
|
set_property(TEST PROPERTY ENVIRONMENT LSAN_OPTIONS=suppressions=${CMAKE_CURRENT_BINARY_DIR}/lsan-suppress.txt)
|
|
add_test(gen_lsan_suppress
|
|
${CMAKE_COMMAND} -E echo leak:tcmalloc > "${CMAKE_CURRENT_BINARY_DIR}/lsan-suppress.txt"
|
|
)
|
|
set_tests_properties(gen_lsan_suppress PROPERTIES FIXTURES_SETUP f_lsan_suppress)
|
|
set_property(TEST PROPERTY FIXTURES_REQUIRED f_lsan_suppress)
|
|
# make -j16 -C ../../build test_heap && ../../build/src/test/test_heap
|
|
# make -j16 -C ../../build test_heap && rm -f $(find ../../build -name '*.gcda') && ctest -V -T test -T coverage -R heap --test-dir ../../build && (cd ../../build; gcovr -f ../src --html --html-nested -o coverage/index.html; cd ../src/test)
|
|
# make -j16 -C ../../build test_blockstore && rm -f $(find ../../build -name '*.gcda') && ctest -V -T test -T coverage -R blockstore --test-dir ../../build && (cd ../../build; gcovr -f ../src --html --html-nested -o coverage/index.html; cd ../src/test)
|
|
# kcov --include-path=../../../src ../../kcov ./test_blockstore
|
|
add_subdirectory(src)
|