Fix tests Makefile.am

It couldn’t run tests due to missing CFLAGS and LDADD parameters.
This commit is contained in:
Gergely Polonkai 2015-09-03 07:25:47 +00:00
parent d87f5e98f7
commit 9da6941f0a

View File

@ -5,7 +5,7 @@ BUILT_EXTRA_DIST =
CLEANFILES = *.log *.trs CLEANFILES = *.log *.trs
DISTCLEANFILES = DISTCLEANFILES =
MAINTAINERCLEANFILES = MAINTAINERCLEANFILES =
EXTRA_DIST = EXTRA_DIST = test-asserts.h
TEST_PROGS = TEST_PROGS =
noinst_LTLIBRARIES = noinst_LTLIBRARIES =
@ -182,10 +182,9 @@ check_DATA += $(all_test_data)
# End of glib.mk # End of glib.mk
LDADD = $(top_builddir)/src/libswe-glib-2.0.la LDADD = $(top_builddir)/src/libswe-glib-2.0.la $(GLIB_LIBS) $(GOBJECT_LIBS)
DEFS = -DG_LOG_DOMAIN=\"SWE-GLib\" DEFS = -DG_LOG_DOMAIN=\"SWE-GLib\"
AM_CPPFLAGS = $(GLIB_CFLAGS) $(GOBJECT_CFLAGS) $(LIBSWE_CFLAGS) -I$(top_srcdir)/src AM_CFLAGS = -g $(GLIB_CFLAGS) $(GOBJECT_CFLAGS) $(LIBSWE_CFLAGS) -I$(top_srcdir)/src
AM_CFLAGS = -g
test_programs = gswe-timestamp-test test_programs = gswe-timestamp-test
TESTS += $(test_programs) TESTS += $(test_programs)