1 include $(top_srcdir)/Makefile.decl
3 INCLUDES = -g -I$(top_srcdir) -I$(top_srcdir)/glib $(GLIB_DEBUG_FLAGS)
5 noinst_PROGRAMS = $(TEST_PROGS)
6 progs_ldadd = $(top_builddir)/glib/libglib-2.0.la
10 testing_SOURCES = testing.c
11 testing_LDADD = $(progs_ldadd)
13 TEST_PROGS += option-context
14 option_context_SOURCES = option-context.c
15 option_context_LDADD = $(progs_ldadd)
17 TEST_PROGS += fileutils
18 fileutils_SOURCES = fileutils.c
19 fileutils_LDADD = $(progs_ldadd)
21 TEST_PROGS += strfuncs
22 strfuncs_SOURCES = strfuncs.c
23 strfuncs_LDADD = $(progs_ldadd) -lm
25 # some testing of gtester funcitonality
27 gtester-xmllint-check: # check testreport xml with xmllint if present
28 ${GTESTER} -k --quiet -o tmpsample.xml --test-arg=--gtester-selftest ${GTESTER}
29 ${XMLLINT} --version 2>/dev/null; test "$$?" != 0 || ${XMLLINT} --noout tmpsample.xml
30 check-am: gtester-xmllint-check