From: Casey Bodley Date: Tue, 22 Apr 2025 12:19:18 +0000 (-0400) Subject: cmake/common: temporarily remove decode_start_v_checker tests X-Git-Tag: v20.3.0~25^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F62902%2Fhead;p=ceph.git cmake/common: temporarily remove decode_start_v_checker tests these test cases appear to be the cause of many 'make check' failures: > error while loading shared libraries: path/to/libceph-common.so.2: file too short Reported in https://tracker.ceph.com/issues/70700 disable the tests until we can fix them Signed-off-by: Casey Bodley --- diff --git a/src/test/common/CMakeLists.txt b/src/test/common/CMakeLists.txt index 953b8a29c429..ec13697d2cc1 100644 --- a/src/test/common/CMakeLists.txt +++ b/src/test/common/CMakeLists.txt @@ -453,6 +453,8 @@ if(WITH_SYSTEMD) add_ceph_unittest(unittest_journald_logger) endif() +# XXX: disabled for https://tracker.ceph.com/issues/70700 +if(0) # Validation of the DECODE_START's struct_v compile-time checker. # First, ensure buildability of the test program itself. This is # useful to avoid false positives coming from other-than-the-assert @@ -488,6 +490,7 @@ add_test(NAME unittest_decode_start_v_checker_expect_failure WORKING_DIRECTORY ${CMAKE_BINARY_DIR}) set_tests_properties(unittest_decode_start_v_checker_expect_failure PROPERTIES WILL_FAIL TRUE) +endif(0) add_executable(unittest_async_call test_async_call.cc) target_link_libraries(unittest_async_call ceph-common Boost::system