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)
18 keyfile_SOURCES = keyfile.c
19 keyfile_LDADD = $(progs_ldadd)
21 TEST_PROGS += fileutils
22 fileutils_SOURCES = fileutils.c
23 fileutils_LDADD = $(progs_ldadd)
25 TEST_PROGS += strfuncs
26 strfuncs_SOURCES = strfuncs.c
27 strfuncs_LDADD = $(progs_ldadd) -lm
29 TEST_PROGS += markup-subparser
30 markup_subparser_LDADD = $(progs_ldadd)
32 TEST_PROGS += array-test
33 array_test_LDADD = $(progs_ldadd)
35 # some testing of gtester funcitonality
37 gtester-xmllint-check: # check testreport xml with xmllint if present
38 ${GTESTER} -k --quiet -o tmpsample.xml --test-arg=--gtester-selftest ${GTESTER}
39 ${XMLLINT} --version 2>/dev/null; test "$$?" != 0 || ${XMLLINT} --noout tmpsample.xml
40 check-am: gtester-xmllint-check