summaryrefslogtreecommitdiffstats
path: root/src/test/buildtest_skeleton.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/buildtest_skeleton.cc')
-rw-r--r--src/test/buildtest_skeleton.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/buildtest_skeleton.cc b/src/test/buildtest_skeleton.cc
new file mode 100644
index 000000000..8215a05db
--- /dev/null
+++ b/src/test/buildtest_skeleton.cc
@@ -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;
+}