From e9133c8579af1042cfa0dbe913dafacc06628282 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Tue, 22 Apr 2025 08:19:18 -0400 Subject: [PATCH] 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 --- src/test/common/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/common/CMakeLists.txt b/src/test/common/CMakeLists.txt index 953b8a29c4293..ec13697d2cc18 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 -- 2.39.5