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>
ceph_test_stress_watch
DESTINATION ${CMAKE_INSTALL_BINDIR})
+# limited Windows signal support, skipped for now
+if(NOT WIN32)
add_executable(ceph_test_c2c
test_c2c.cc
)
install(TARGETS
ceph_test_c2c
DESTINATION ${CMAKE_INSTALL_BINDIR})
+endif(NOT WIN32)
if(WITH_FUSE)
add_executable(ceph_test_cfuse_cache_invalidate
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