]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: build fix for LIBMDS consumer. 8388/head
authorRobin H. Johnson <robin.johnson@dreamhost.com>
Thu, 31 Mar 2016 06:28:55 +0000 (06:28 +0000)
committerRobin H. Johnson <robin.johnson@dreamhost.com>
Thu, 31 Mar 2016 06:28:55 +0000 (06:28 +0000)
If you have --without-mds, then this test case cannot be compiled due to
the lack of libmds.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
src/test/Makefile-client.am

index 2d3ac226b93814bc67d02af598e7829a97c55a88..f6e7252ccc70fb21eb1b77ded3e1c3759f7d7cf6 100644 (file)
@@ -285,10 +285,12 @@ ceph_test_rados_api_lock_LDADD = $(LIBRADOS) $(UNITTEST_LDADD) $(RADOS_TEST_LDAD
 ceph_test_rados_api_lock_CXXFLAGS = $(UNITTEST_CXXFLAGS)
 bin_DEBUGPROGRAMS += ceph_test_rados_api_lock
 
+if WITH_MDS
 ceph_test_rados_api_tmap_migrate_SOURCES = test/librados/tmap_migrate.cc tools/cephfs/DataScan.cc tools/cephfs/MDSUtility.cc
 ceph_test_rados_api_tmap_migrate_LDADD = $(LIBRADOS) $(UNITTEST_LDADD) $(LIBMDS) libcls_cephfs_client.la  $(CEPH_GLOBAL) $(RADOS_TEST_LDADD)
 ceph_test_rados_api_tmap_migrate_CXXFLAGS = $(UNITTEST_CXXFLAGS)
 bin_DEBUGPROGRAMS += ceph_test_rados_api_tmap_migrate
+endif
 
 
 ceph_test_stress_watch_SOURCES = test/test_stress_watch.cc