]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake/common: temporarily remove decode_start_v_checker tests 62902/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 22 Apr 2025 12:19:18 +0000 (08:19 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 22 Apr 2025 12:20:45 +0000 (08:20 -0400)
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 <cbodley@redhat.com>
src/test/common/CMakeLists.txt

index 953b8a29c4293d76035b05e680f4c8940690616c..ec13697d2cc181d77d3d0a91e1626160633cbfec 100644 (file)
@@ -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