]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
automake cleanup: renaming buildtest 575/head
authorRoald J. van Loon <roaldvanloon@gmail.com>
Sat, 7 Sep 2013 14:37:10 +0000 (16:37 +0200)
committerRoald J. van Loon <roaldvanloon@gmail.com>
Sat, 7 Sep 2013 20:44:12 +0000 (22:44 +0200)
The previous name could cause confusion (it's not only used to test
build libcommon anymore).

Signed-off-by: Roald J. van Loon <roaldvanloon@gmail.com>
src/Makefile.am
src/test/buildtest_skeleton.cc [new file with mode: 0644]
src/test/test_libcommon_build.cc [deleted file]

index 7ed2d8828bd3f1c98162fa1b0937e45ecacd3d56..4a67214a1e19fd8400c85194ccc373d08dafb6f1 100644 (file)
@@ -298,22 +298,22 @@ ceph_multi_stress_watch_LDADD = librados.la $(LIBGLOBAL_LDA)
 bin_DEBUGPROGRAMS += ceph_multi_stress_watch 
 
 if WITH_BUILD_TESTS
-ceph_test_libcommon_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files)
+ceph_test_libcommon_build_SOURCES = test/buildtest_skeleton.cc $(libcommon_files)
 ceph_test_libcommon_build_LDADD = libcrc.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS)
 bin_DEBUGPROGRAMS += ceph_test_libcommon_build
 
-ceph_test_librados_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) $(librados_SOURCES)
+ceph_test_librados_build_SOURCES = test/buildtest_skeleton.cc $(libcommon_files) $(librados_SOURCES)
 ceph_test_librados_build_LDADD = libcrc.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS)
 ceph_test_librados_build_CXXFLAGS = $(AM_CXXFLAGS)
 bin_DEBUGPROGRAMS += ceph_test_librados_build
 
-ceph_test_librgw_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) \
+ceph_test_librgw_build_SOURCES = test/buildtest_skeleton.cc $(libcommon_files) \
                            $(librados_SOURCES) $(librgw_la_SOURCES)
 ceph_test_librgw_build_LDADD = libcrc.la -lexpat $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS)
 ceph_test_librgw_build_CXXFLAGS = $(AM_CXXFLAGS)
 bin_DEBUGPROGRAMS += ceph_test_librgw_build
 
-ceph_test_libcephfs_build_SOURCES = test/test_libcommon_build.cc $(libcommon_files) \
+ceph_test_libcephfs_build_SOURCES = test/buildtest_skeleton.cc $(libcommon_files) \
                            $(libosdc_la_SOURCES)
 ceph_test_libcephfs_build_LDADD = libcrc.la libcephfs.la -lexpat $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS)
 ceph_test_libcephfs_build_CXXFLAGS = $(AM_CXXFLAGS)
@@ -321,7 +321,7 @@ bin_DEBUGPROGRAMS += ceph_test_libcephfs_build
 endif
 
 if WITH_HADOOPCLIENT
-ceph_test_libhadoopcephfs_build_SOURCES = test/test_libcommon_build.cc \
+ceph_test_libhadoopcephfs_build_SOURCES = test/buildtest_skeleton.cc \
          $(libhadoopcephfs_la_SOURCES) \
         $(libosdc_la_SOURCES) $(libcommon_files)
 ceph_test_libhadoopcephfs_build_LDADD = libcrc.la libcephfs.la -lexpat $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS)
diff --git a/src/test/buildtest_skeleton.cc b/src/test/buildtest_skeleton.cc
new file mode 100644 (file)
index 0000000..8215a05
--- /dev/null
@@ -0,0 +1,13 @@
+#include "common/common_init.h"
+
+/* This program exists to test that we can build libcommon without
+ * referencing g_ceph_context
+ *
+ * This program will go away as soon as we actually don't use g_ceph_context in
+ * more programs. Obviously, at that point, those programs will provide an
+ * equivalent test.
+ */
+int main(int argc, char **argv)
+{
+  return 0;
+}
diff --git a/src/test/test_libcommon_build.cc b/src/test/test_libcommon_build.cc
deleted file mode 100644 (file)
index 8215a05..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "common/common_init.h"
-
-/* This program exists to test that we can build libcommon without
- * referencing g_ceph_context
- *
- * This program will go away as soon as we actually don't use g_ceph_context in
- * more programs. Obviously, at that point, those programs will provide an
- * equivalent test.
- */
-int main(int argc, char **argv)
-{
-  return 0;
-}