summaryrefslogtreecommitdiff
path: root/test/common/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'test/common/Makefile.am')
-rw-r--r--test/common/Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/common/Makefile.am b/test/common/Makefile.am
new file mode 100644
index 0000000..a6c6885
--- /dev/null
+++ b/test/common/Makefile.am
@@ -0,0 +1,23 @@
+TESTS = commontest
+TESTS_ENVIRONMENT= SSO_PLUGINS_DIR=$(top_builddir)/src/plugins/.libs \
+ SSO_BIN_DIR=$(top_builddir)/src/daemon/.libs \
+ SSO_STORAGE_PATH=/tmp/gsignond \
+ SSO_SECRET_PATH=/tmp/gsignond \
+ LD_LIBRARY_PATH="$(top_builddir)/src/daemon/plugins/plugind/.libs:$(top_builddir)/src/common/.libs:$(top_builddir)/src/common/db/.libs:$(top_builddir)/src/daemon/.libs:$(top_builddir)/src/daemon/db/.libs:$(top_builddir)/src/daemon/dbus/.libs:$(top_builddir)/src/daemon/plugins/.libs"
+
+VALGRIND_TESTS_DISABLE=
+
+check_PROGRAMS = commontest
+include $(top_srcdir)/test/valgrind_common.mk
+commontest_SOURCES = commontest.c
+commontest_CFLAGS = \
+ $(GSIGNOND_CFLAGS) \
+ $(CHECK_CFLAGS) \
+ -I$(top_builddir) \
+ -I$(top_srcdir)/include/ \
+ -I$(top_srcdir)/src/
+
+commontest_LDADD = \
+ $(top_builddir)/src/common/libgsignond-common.la \
+ $(GSIGNOND_LIBS) \
+ $(CHECK_LIBS)