1 include $(top_srcdir)/Makefile.decl
6 -DSRCDIR=\""$(srcdir)"\" \
9 noinst_PROGRAMS = $(TEST_PROGS)
10 progs_ldadd = $(top_builddir)/glib/libglib-2.0.la
14 testing_SOURCES = testing.c
15 testing_LDADD = $(progs_ldadd)
17 TEST_PROGS += option-context
18 option_context_SOURCES = option-context.c
19 option_context_LDADD = $(progs_ldadd)
22 keyfile_SOURCES = keyfile.c
23 keyfile_LDADD = $(progs_ldadd)
25 TEST_PROGS += fileutils
26 fileutils_SOURCES = fileutils.c
27 fileutils_LDADD = $(progs_ldadd)
30 printf_SOURCES = printf.c
31 printf_LDADD = $(progs_ldadd) -lm
33 TEST_PROGS += protocol
34 protocol_SOURCES = protocol.c
35 protocol_LDADD = $(progs_ldadd)
39 rand_LDADD = $(progs_ldadd) -lm
41 TEST_PROGS += strfuncs
42 strfuncs_SOURCES = strfuncs.c
43 strfuncs_LDADD = $(progs_ldadd) -lm
46 string_SOURCES = string.c
47 string_LDADD = $(progs_ldadd) -lm
49 TEST_PROGS += markup-parse
50 markup_parse_LDADD = $(progs_ldadd)
52 TEST_PROGS += markup-collect
53 markup_collect_LDADD = $(progs_ldadd)
55 TEST_PROGS += markup-escape
56 markup_escape_LDADD = $(progs_ldadd)
58 TEST_PROGS += markup-subparser
59 markup_subparser_LDADD = $(progs_ldadd)
61 TEST_PROGS += array-test
62 array_test_LDADD = $(progs_ldadd)
64 TEST_PROGS += hostutils
65 hostutils_LDADD = $(progs_ldadd)
67 TEST_PROGS += gvariant
68 gvariant_LDADD = $(progs_ldadd)
70 TEST_PROGS += mem-overflow
71 mem_overflow_LDADD = $(progs_ldadd)
74 utils_LDADD = $(progs_ldadd)
77 regex_LDADD = $(progs_ldadd)
80 base64_LDADD = $(progs_ldadd)
82 TEST_PROGS += sequence
83 sequence_LDADD = $(progs_ldadd)
85 TEST_PROGS += scannerapi
86 scannerapi_LDADD = $(progs_ldadd)
89 shell_LDADD = $(progs_ldadd)
92 collate_LDADD = $(progs_ldadd)
94 TEST_PROGS += utf8-pointer
95 utf8_pointer_LDADD = $(progs_ldadd)
97 TEST_PROGS += utf8-validate
98 utf8_validate_LDADD = $(progs_ldadd)
100 TEST_PROGS += utf8-misc
101 utf8_misc_LDADD = $(progs_ldadd)
103 TEST_PROGS += checksum
104 checksum_LDADD = $(progs_ldadd)
107 hash_LDADD = $(progs_ldadd)
110 date_LDADD = $(progs_ldadd)
113 node_LDADD = $(progs_ldadd)
115 TEST_PROGS += convert
116 convert_LDADD = $(progs_ldadd)
119 list_LDADD = $(progs_ldadd)
122 slist_LDADD = $(progs_ldadd)
125 queue_LDADD = $(progs_ldadd)
128 tree_LDADD = $(progs_ldadd)
131 uri_LDADD = $(progs_ldadd)
134 dir_LDADD = $(progs_ldadd)
136 TEST_PROGS += pattern
137 pattern_LDADD = $(progs_ldadd)
139 TEST_PROGS += logging
140 logging_LDADD = $(progs_ldadd)
143 error_LDADD = $(progs_ldadd)
145 TEST_PROGS += bookmarkfile
146 bookmarkfile_LDADD = $(progs_ldadd)
150 # some testing of gtester funcitonality
152 gtester-xmllint-check: # check testreport xml with xmllint if present
153 ${GTESTER} -k --quiet -o tmpsample.xml --test-arg=--gtester-selftest ${GTESTER}
154 ${XMLLINT} --version 2>/dev/null; test "$$?" != 0 || ${XMLLINT} --noout tmpsample.xml
155 check-am: gtester-xmllint-check
168 mkdir $(distdir)/markups; \
169 for f in $(srcdir)/markups/*; do \
170 cp $$f $(distdir)/markups; done
171 mkdir $(distdir)/bookmarks; \
172 for f in $(srcdir)/bookmarks/* ; do \
173 cp $$f $(distdir)/bookmarks; done