Fix LD_LIBRARY_PATH in make check
[profile/ivi/GSSDP.git] / tests / gtest / Makefile.am
1 TESTS_ENVIRONMENT = G_SLICE=debug-blocks \
2                     LD_LIBRARY_PATH=$(top_builddir)/libgssdp/.libs:$(LD_LIBRARY_PATH)
3
4 TESTS=$(check_PROGRAMS)
5
6 check_PROGRAMS = test-regression test-functional
7
8 noinst_LIBRARIES = libtestutil.a
9
10 libtestutil_a_SOURCES = test-util.h test-util.c
11
12 test_regression_SOURCES = test-regression.c
13 test_functional_SOURCES = test-functional.c
14
15 LDADD = \
16         $(top_builddir)/libgssdp/libgssdp-1.0.la \
17         libtestutil.a \
18         $(LIBGSSDP_LIBS)
19
20 AM_CFLAGS = \
21             $(LIBGSSDP_CFLAGS) \
22             -I $(top_srcdir) \
23             -DDATA_PATH="\"$(srcdir)\""
24