Commit cc34ead7 authored by Rob Latham's avatar Rob Latham

sds keyval tests work against mobject-server

parent 5d7c0b6b
...@@ -44,11 +44,18 @@ LIBS="$ARGOBOTS_LIBS $LIBS" ...@@ -44,11 +44,18 @@ LIBS="$ARGOBOTS_LIBS $LIBS"
CPPFLAGS="$ARGOBOTS_CFLAGS $CPPFLAGS" CPPFLAGS="$ARGOBOTS_CFLAGS $CPPFLAGS"
CFLAGS="$ARGOBOTS_CFLAGS $CFLAGS" CFLAGS="$ARGOBOTS_CFLAGS $CFLAGS"
PKG_CHECK_MODULES([SDSKEYVAL],[kv-server],[], PKG_CHECK_MODULES([SDSKEYVALSERVER],[kv-server],[],
AC_MSG_ERROR([Could not find working sds-keyval server installation!]) ) AC_MSG_ERROR([Could not find working sds-keyval server installation!]) )
LIBS="$SDSKEYVAL_LIBS $LIBS" LIBS="$SDSKEYVALSERVER_LIBS $LIBS"
CPPFLAGS="$SDSKEYVAL_CFLAGS $CPPFLAGS" CPPFLAGS="$SDSKEYVALSERVER_CFLAGS $CPPFLAGS"
CFLAGS="$SDSKEYVAL_CFLAGS $CFLAGS" CFLAGS="$SDSKEYVALSERVER_CFLAGS $CFLAGS"
PKG_CHECK_MODULES([SDSKEYVALCLIENT],[kv-client],[],
AC_MSG_ERROR([Could not find working sds-keyval client installation!]) )
LIBS="$SDSKEYVALCLIENT_LIBS $LIBS"
CPPFLAGS="$SDSKEYVALCLIENT_CFLAGS $CPPFLAGS"
CFLAGS="$SDSKEYVALCLIENT_CFLAGS $CFLAGS"
PKG_CHECK_MODULES([PMEM],[libpmemobj],[], PKG_CHECK_MODULES([PMEM],[libpmemobj],[],
AC_MSG_ERROR([Could not find working libpmemobj installation!]) ) AC_MSG_ERROR([Could not find working libpmemobj installation!]) )
......
check_PROGRAMS += \ check_PROGRAMS += \
tests/mobject-connect-test \ tests/mobject-connect-test \
tests/mobject-server tests/mobject-server \
tests/test-sds-keyval-client
if HAVE_RADOS if HAVE_RADOS
check_PROGRAMS += \ check_PROGRAMS += \
...@@ -17,6 +18,7 @@ tests_mobject_connect_test_LDADD = src/libmobject-store.la ${LIBS} ...@@ -17,6 +18,7 @@ tests_mobject_connect_test_LDADD = src/libmobject-store.la ${LIBS}
tests_mobject_server_CPPFLAGS = -I${srcdir}/include tests_mobject_server_CPPFLAGS = -I${srcdir}/include
tests_mobject_server_LDADD = src/libmobject-store-server.la ${LIBS} tests_mobject_server_LDADD = src/libmobject-store-server.la ${LIBS}
if HAVE_RADOS if HAVE_RADOS
tests_rados_mobject_connect_test_SOURCES = tests/mobject-connect-test.c tests_rados_mobject_connect_test_SOURCES = tests/mobject-connect-test.c
tests_rados_mobject_connect_test_CFLAGS = -DUSE_RADOS tests_rados_mobject_connect_test_CFLAGS = -DUSE_RADOS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment