]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Modify cmake files to take advantage or re-organization of dmclock's
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 19 May 2017 20:54:33 +0000 (16:54 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Mon, 22 May 2017 20:29:33 +0000 (16:29 -0400)
cmake set-up, specifically not allowing dmclock to call add_test.
Remove dmclock tests from being dependencies on ceph's "test" target.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
ceph.spec.in
debian/ceph-test.install
src/CMakeLists.txt

index 339adc627bf5e02492b96b12ab573102b89f6ede..e8f2430c69016efe598e06b4f8f4ad35b713d2a5 100644 (file)
@@ -1636,8 +1636,6 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
 %{_bindir}/ceph-osdomap-tool
 %{_bindir}/ceph-kvstore-tool
 %{_bindir}/ceph-debugpack
-%{_bindir}/dmclock-tests
-%{_bindir}/dmclock-data-struct-tests
 %{_mandir}/man8/ceph-debugpack.8*
 %dir %{_libdir}/ceph
 %{_libdir}/ceph/ceph-monstore-update-crush.sh
index 4fdf179e30459d421391d11b3d7cad1a7b82bab5..15b04664eaab005f1d97cd4130da833666a390f3 100644 (file)
@@ -26,7 +26,5 @@ usr/bin/ceph_xattr_bench
 usr/bin/ceph-monstore-tool
 usr/bin/ceph-osdomap-tool
 usr/bin/ceph-kvstore-tool
-usr/bin/dmclock-tests
-usr/bin/dmclock-data-struct-tests
 usr/share/java/libcephfs-test.jar
 usr/lib/ceph/ceph-monstore-update-crush.sh
index c68c5fe142710ec7de2ecf7adb9f2b8f439b0678..254a3fafb13cee7fa919d6b9866c6d71692636e4 100644 (file)
@@ -871,16 +871,14 @@ add_subdirectory(compressor)
 
 add_subdirectory(tools)
 
-# dmClock
-
-add_subdirectory(dmclock) # after gmock
-add_dependencies(tests dmclock-tests dmclock-data-struct-tests)
+# dmClock (after gmock)
 
+add_subdirectory(dmclock/src)
 if(WITH_TESTS)
-  install(PROGRAMS
-    ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/dmclock-tests
-    ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/dmclock-data-struct-tests
-    DESTINATION bin)
+  # note: add_test is not being called, so dmclock tests aren't part
+  # of ceph tests
+  add_subdirectory(dmclock/test)
+  add_subdirectory(dmclock/support/test)
 endif(WITH_TESTS)
 
 if(HAVE_INTEL)