summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 01c1c50)
raw | patch | inline | side by side (parent: 01c1c50)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 9 May 2014 17:44:37 +0000 (19:44 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 9 May 2014 17:44:37 +0000 (19:44 +0200) |
The API is not yet stable enough for that purpose.
src/Makefile.am | patch | blob | history | |
t/integration/test_lib.sh | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index cf3236d9ac69a907f87a287a4bf8a5910593ee14..ed3ebdad700445caca0ec8b95d661ecee848a658 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
include/client/sock.h \
include/client/sysdb.h
-lib_LTLIBRARIES = libsysdbclient.la libsysdb.la
-noinst_LTLIBRARIES =
+noinst_LTLIBRARIES = libsysdbclient.la libsysdb.la
libsysdbclient_la_SOURCES = \
client/client.c include/client/sysdb.h \
sysdbd_SOURCES = tools/sysdbd/main.c include/sysdb.h \
tools/sysdbd/configfile.c tools/sysdbd/configfile.h
sysdbd_CFLAGS = $(AM_CFLAGS) -DBUILD_DATE="\"$$( date --utc '+%F %T' ) (UTC)\""
+sysdbd_LDFLAGS = -export-dynamic
sysdbd_LDADD = libsysdb.la liboconfig/liboconfig.la
sysdbd_DEPENDENCIES = liboconfig/liboconfig.la
index 604d2dffb02553a5cc66a09cf8a740f724ee032c..63be63beef326ded85f739040d6542785838ab41 100644 (file)
mkdir "$TESTDIR/backend"
cp "$TOP_SRCDIR/t/integration/.libs/mock_plugin.so" "$TESTDIR/backend"
-cp "$TOP_SRCDIR"/src/.libs/sysdb "$TESTDIR"
-cp "$TOP_SRCDIR"/src/.libs/sysdbd "$TESTDIR"
-cp "$TOP_SRCDIR"/src/.libs/libsysdb*.so* "$TESTDIR"
+cp "$TOP_SRCDIR"/src/sysdb "$TESTDIR"
+cp "$TOP_SRCDIR"/src/sysdbd "$TESTDIR"
MEMCHECK="valgrind --quiet --tool=memcheck --error-exitcode=1"
MEMCHECK="$MEMCHECK --trace-children=yes"
PLUGIN_DIR="$TESTDIR"
function run_sysdb() {
- LD_PRELOAD=$TESTDIR/libsysdbclient.so $MEMCHECK \
- "$TESTDIR/sysdb" -U mockuser "$@"
+ $MEMCHECK "$TESTDIR/sysdb" -U mockuser "$@"
}
function run_sysdbd() {
- LD_PRELOAD=$TESTDIR/libsysdb.so $MEMCHECK "$TESTDIR/sysdbd" "$@" &
+ $MEMCHECK "$TESTDIR/sysdbd" "$@" &
SYSDBD_PID=$!
}
function run_sysdbd_foreground() {
- LD_PRELOAD=$TESTDIR/libsysdb.so $MEMCHECK "$TESTDIR/sysdbd" "$@"
+ $MEMCHECK "$TESTDIR/sysdbd" "$@"
}
function stop_sysdbd() {