From d596146e6d02e10f5318ce34c8dc3e3e4626a5c5 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 3 Jun 2016 11:30:09 +0800 Subject: [PATCH] makefile,debian,rpm: do not package librgw_file* anymore they are unit tests for rgw. Signed-off-by: Kefu Chai --- ceph.spec.in | 1 - debian/ceph-test.install | 1 - src/test/Makefile-client.am | 7 +------ 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 86733a27c1022..79bef540c3890 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1373,7 +1373,6 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1 %{_bindir}/ceph_smalliobenchfs %{_bindir}/ceph_smalliobenchrbd %{_bindir}/ceph_test_* -%{_bindir}/librgw_file* %{_bindir}/ceph_tpbench %{_bindir}/ceph_xattr_bench %{_bindir}/ceph-coverage diff --git a/debian/ceph-test.install b/debian/ceph-test.install index 5db828e72477d..a8a2a31ebf7f0 100644 --- a/debian/ceph-test.install +++ b/debian/ceph-test.install @@ -25,6 +25,5 @@ usr/bin/ceph_xattr_bench usr/bin/ceph-monstore-tool usr/bin/ceph-osdomap-tool usr/bin/ceph-kvstore-tool -usr/bin/librgw_file* usr/share/java/libcephfs-test.jar usr/lib/ceph/ceph-monstore-update-crush.sh diff --git a/src/test/Makefile-client.am b/src/test/Makefile-client.am index 686f2fc89ffa4..21d07b6c7f2c5 100644 --- a/src/test/Makefile-client.am +++ b/src/test/Makefile-client.am @@ -768,32 +768,27 @@ bin_DEBUGPROGRAMS += ceph_test_cls_rgw librgw_file_SOURCES = test/librgw_file.cc librgw_file_CXXFLAGS = -I$(srcdir)/xxHash $(UNITTEST_CXXFLAGS) librgw_file_LDADD = $(UNITTEST_LDADD) \ - $(LIBRGW) $(LIBRGW_DEPS) librados.la $(PTHREAD_LIBS) $(CEPH_GLOBAL) $(EXTRALIBS) -bin_DEBUGPROGRAMS += librgw_file + $(LIBRGW) $(LIBRGW_DEPS) librados.la $(PTHREAD_LIBS) $(CEPH_GLOBAL) $(EXTRALIBS) librgw_file_cd_SOURCES = test/librgw_file_cd.cc librgw_file_cd_CXXFLAGS = -I$(srcdir)/xxHash $(UNITTEST_CXXFLAGS) librgw_file_cd_LDADD = $(UNITTEST_LDADD) \ $(LIBRGW) $(LIBRGW_DEPS) librados.la $(PTHREAD_LIBS) $(CEPH_GLOBAL) $(EXTRALIBS) -bin_DEBUGPROGRAMS += librgw_file_cd librgw_file_gp_SOURCES = test/librgw_file_gp.cc librgw_file_gp_CXXFLAGS = -I$(srcdir)/xxHash $(UNITTEST_CXXFLAGS) librgw_file_gp_LDADD = $(UNITTEST_LDADD) \ $(LIBRGW) $(LIBRGW_DEPS) librados.la $(PTHREAD_LIBS) $(CEPH_GLOBAL) $(EXTRALIBS) -bin_DEBUGPROGRAMS += librgw_file_gp librgw_file_aw_SOURCES = test/librgw_file_aw.cc librgw_file_aw_CXXFLAGS = -I$(srcdir)/xxHash $(UNITTEST_CXXFLAGS) librgw_file_aw_LDADD = $(UNITTEST_LDADD) \ $(LIBRGW) $(LIBRGW_DEPS) librados.la $(PTHREAD_LIBS) $(CEPH_GLOBAL) $(EXTRALIBS) -bin_DEBUGPROGRAMS += librgw_file_aw librgw_file_nfsns_SOURCES = test/librgw_file_nfsns.cc librgw_file_nfsns_CXXFLAGS = -I$(srcdir)/xxHash $(UNITTEST_CXXFLAGS) librgw_file_nfsns_LDADD = $(UNITTEST_LDADD) \ $(LIBRGW) $(LIBRGW_DEPS) librados.la $(PTHREAD_LIBS) $(CEPH_GLOBAL) $(EXTRALIBS) -bin_DEBUGPROGRAMS += librgw_file_nfsns # # test_rgw_token_SOURCES = test/test_rgw_token.cc -- 2.39.5