diff options
author | Lucian Petrut <lpetrut@cloudbasesolutions.com> | 2022-09-13 16:18:55 +0200 |
---|---|---|
committer | Lucian Petrut <lpetrut@cloudbasesolutions.com> | 2023-02-15 15:12:38 +0100 |
commit | d8ea79e23232e0a1057e945df7bd48a57c0da930 (patch) | |
tree | 966410dc0608358b508fc0b43bcdc60ebb3c4078 /src/test/libcephfs | |
parent | Merge PR #48053 into main (diff) | |
download | ceph-d8ea79e23232e0a1057e945df7bd48a57c0da930.tar.xz ceph-d8ea79e23232e0a1057e945df7bd48a57c0da930.zip |
test: disable unsupported tests on Windows
ceph_test_c2c will run until being signaled. However, we have limited
signal support on Windows, which is why we're going to skip it for
now.
At the same time, "fork" is unavailable on Windows, so we'll have
to temporarily disable the libcephfs reclaim test.
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Diffstat (limited to 'src/test/libcephfs')
-rw-r--r-- | src/test/libcephfs/CMakeLists.txt | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/test/libcephfs/CMakeLists.txt b/src/test/libcephfs/CMakeLists.txt index cc627cfd76e..b6cd08e601c 100644 --- a/src/test/libcephfs/CMakeLists.txt +++ b/src/test/libcephfs/CMakeLists.txt @@ -36,17 +36,20 @@ if(WITH_LIBCEPHFS) install(TARGETS ceph_test_libcephfs_newops DESTINATION ${CMAKE_INSTALL_BINDIR}) - add_executable(ceph_test_libcephfs_reclaim - reclaim.cc - ) - target_link_libraries(ceph_test_libcephfs_reclaim - cephfs - ${UNITTEST_LIBS} - ${EXTRALIBS} - ${CMAKE_DL_LIBS} + # uses fork, not available on Windows + if(NOT WIN32) + add_executable(ceph_test_libcephfs_reclaim + reclaim.cc ) - install(TARGETS ceph_test_libcephfs_reclaim - DESTINATION ${CMAKE_INSTALL_BINDIR}) + target_link_libraries(ceph_test_libcephfs_reclaim + cephfs + ${UNITTEST_LIBS} + ${EXTRALIBS} + ${CMAKE_DL_LIBS} + ) + install(TARGETS ceph_test_libcephfs_reclaim + DESTINATION ${CMAKE_INSTALL_BINDIR}) + endif(NOT WIN32) add_executable(ceph_test_libcephfs_lazyio lazyio.cc |