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)
26 printf_SOURCES = printf.c
27 printf_LDADD = $(progs_ldadd) -lm
31 rand_LDADD = $(progs_ldadd) -lm
33 TEST_PROGS += strfuncs
34 strfuncs_SOURCES = strfuncs.c
35 strfuncs_LDADD = $(progs_ldadd) -lm
38 string_SOURCES = string.c
39 string_LDADD = $(progs_ldadd) -lm
41 TEST_PROGS += markup-subparser
42 markup_subparser_LDADD = $(progs_ldadd)
44 TEST_PROGS += array-test
45 array_test_LDADD = $(progs_ldadd)
49 # some testing of gtester funcitonality
51 gtester-xmllint-check: # check testreport xml with xmllint if present
52 ${GTESTER} -k --quiet -o tmpsample.xml --test-arg=--gtester-selftest ${GTESTER}
53 ${XMLLINT} --version 2>/dev/null; test "$$?" != 0 || ${XMLLINT} --noout tmpsample.xml
54 check-am: gtester-xmllint-check