From: Lucian Petrut Date: Fri, 2 Sep 2022 12:53:33 +0000 (+0000) Subject: test/libcephfs: enable the tests on Windows X-Git-Tag: v18.1.0~369^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=246c9fade05e5444d4e53844377a74e55fd591a3;p=ceph.git test/libcephfs: enable the tests on Windows This patch series enables the libcephfs tests to run on Windows, addressing all the incompatibilities that we have encountered. Signed-off-by: Lucian Petrut --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 0c16d6a9eb4a..d482090068a3 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -32,6 +32,7 @@ if (WITH_CEPHFS) endif() add_subdirectory(pybind) add_subdirectory(dokan) +add_subdirectory(libcephfs) # Not available on Windows for the time being. if(NOT WIN32) @@ -61,7 +62,6 @@ if(NOT WIN32) add_subdirectory(erasure-code) add_subdirectory(filestore) add_subdirectory(fs) - add_subdirectory(libcephfs) add_subdirectory(libcephsqlite) add_subdirectory(client) add_subdirectory(mon) diff --git a/src/test/libcephfs/CMakeLists.txt b/src/test/libcephfs/CMakeLists.txt index dc4c27905a54..cc627cfd76ea 100644 --- a/src/test/libcephfs/CMakeLists.txt +++ b/src/test/libcephfs/CMakeLists.txt @@ -1,4 +1,4 @@ -if(${WITH_CEPHFS}) +if(WITH_LIBCEPHFS) add_executable(ceph_test_libcephfs test.cc readdir_r_cb.cc @@ -75,5 +75,4 @@ if(${WITH_CEPHFS}) ) install(TARGETS ceph_test_libcephfs_access DESTINATION ${CMAKE_INSTALL_BINDIR}) -endif(${WITH_CEPHFS}) - +endif(WITH_LIBCEPHFS)