From: Ali Maredia Date: Tue, 2 Feb 2016 01:37:44 +0000 (-0500) Subject: cmake: moved tests into test/librados_test_stub dir X-Git-Tag: v10.2.0~27^2~28 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=99d343636e156504073a4574c980af301ad952eb;p=ceph.git cmake: moved tests into test/librados_test_stub dir Added a CMakeLists.txt into test/librados_test_stub. Signed-off-by: Ali Maredia --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 46077f44f73f..b5e45cf7445c 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -17,6 +17,7 @@ add_subdirectory(compressor) add_subdirectory(filestore) add_subdirectory(journal) add_subdirectory(libcephfs) +add_subdirectory(librados_test_stub) # test_timers add_executable(ceph_test_timers @@ -340,15 +341,6 @@ add_executable(ceph_multi_stress_watch target_link_libraries(ceph_multi_stress_watch librados global radostest ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS}) -set(librados_test_stub_srcs - librados_test_stub/LibradosTestStub.cc - librados_test_stub/TestClassHandler.cc - librados_test_stub/TestIoCtxImpl.cc - librados_test_stub/TestMemIoCtxImpl.cc - librados_test_stub/TestMemRadosClient.cc - librados_test_stub/TestRadosClient.cc) -add_library(rados_test_stub STATIC ${librados_test_stub_srcs}) - # unittest_librbd add_executable(unittest_librbd EXCLUDE_FROM_ALL librbd/test_librbd.cc diff --git a/src/test/librados_test_stub/CMakeLists.txt b/src/test/librados_test_stub/CMakeLists.txt new file mode 100644 index 000000000000..ef333cc97063 --- /dev/null +++ b/src/test/librados_test_stub/CMakeLists.txt @@ -0,0 +1,10 @@ +set(librados_test_stub_srcs + LibradosTestStub.cc + TestClassHandler.cc + TestIoCtxImpl.cc + TestMemIoCtxImpl.cc + TestMemRadosClient.cc + TestRadosClient.cc + TestWatchNotify.cc) +add_library(rados_test_stub STATIC ${librados_test_stub_srcs}) +