1 include $(top_srcdir)/glib.mk
3 LDADD = $(top_builddir)/glib/libglib-2.0.la -lm
4 AM_CPPFLAGS = -g $(glib_INCLUDES) $(GLIB_DEBUG_FLAGS)
5 DEFS = -DG_LOG_DOMAIN=\"GLib\" -DEXEEXT=\"$(EXEEXT)\"
6 AM_CFLAGS = $(GLIB_WARN_CFLAGS)
8 # -----------------------------------------------------------------------------
18 dist_test_extra_scripts = \
22 test_extra_programs = \
99 uninstalled_test_programs = \
103 bookmarks/fail-01.xbel \
104 bookmarks/fail-02.xbel \
105 bookmarks/fail-03.xbel \
106 bookmarks/fail-04.xbel \
107 bookmarks/fail-05.xbel \
108 bookmarks/fail-06.xbel \
109 bookmarks/fail-07.xbel \
110 bookmarks/fail-08.xbel \
111 bookmarks/fail-09.xbel \
112 bookmarks/fail-10.xbel \
113 bookmarks/fail-11.xbel \
114 bookmarks/fail-12.xbel \
115 bookmarks/fail-13.xbel \
116 bookmarks/fail-14.xbel \
117 bookmarks/fail-15.xbel \
118 bookmarks/fail-16.xbel \
119 bookmarks/fail-17.xbel \
120 bookmarks/valid-01.xbel \
121 bookmarks/valid-02.xbel \
122 bookmarks/valid-03.xbel \
126 fail-1 fail-2 fail-3 fail-4 fail-5 \
127 fail-6 fail-7 fail-8 fail-9 fail-10 \
128 fail-11 fail-12 fail-13 fail-14 fail-15 \
129 fail-16 fail-17 fail-18 fail-19 fail-20 \
130 fail-21 fail-22 fail-23 fail-24 fail-25 \
131 fail-26 fail-27 fail-28 fail-29 fail-30 \
132 fail-31 fail-32 fail-33 fail-34 fail-35 \
133 fail-36 fail-37 fail-38 fail-39 fail-40 \
134 fail-41 fail-42 fail-43 fail-44 fail-45 \
135 fail-46 fail-47 fail-48 fail-49 \
136 valid-1 valid-2 valid-3 valid-4 valid-5 \
137 valid-6 valid-7 valid-8 valid-9 valid-10 \
138 valid-11 valid-12 valid-13 valid-14 valid-15 \
141 dist_test_data += $(all_markup_data)
142 all_markup_data = $(addprefix markups/,$(markup_tests:=.gmarkup) $(markup_tests:=.expected))
144 # -----------------------------------------------------------------------------
146 test_programs += atomic
147 atomic_CFLAGS = $(AM_CFLAGS)
149 atomic_CFLAGS += -Wstrict-aliasing=2
152 test_programs += 642026-ec
153 642026_ec_SOURCES = 642026.c
154 642026_ec_CFLAGS = -DG_ERRORCHECK_MUTEXES
156 uninstalled_test_programs += 1bit-emufutex
157 1bit_emufutex_SOURCES = 1bit-mutex.c
158 1bit_emufutex_CFLAGS = $(AM_CFLAGS) -DTEST_EMULATED_FUTEX
160 uninstalled_test_programs += gwakeup
161 gwakeup_SOURCES = gwakeuptest.c ../../glib/gwakeup.c
163 # -----------------------------------------------------------------------------
171 # some testing of gtester functionality
174 gtester-xmllint-check: # check testreport xml with xmllint if present
175 ${GTESTER} -k --quiet -o tmpsample.xml --test-arg=--gtester-selftest ${GTESTER}
176 ${XMLLINT} --version 2>/dev/null; test "$$?" != 0 || ${XMLLINT} --noout tmpsample.xml
178 CLEANFILES += tmpsample.xml
180 check-am: gtester-xmllint-check
182 private_LDFLAGS = @G_THREAD_LIBS@
185 # -----------------------------------------------------------------------------
188 uninstalled_test_programs += gwakeup-fallback
189 gwakeup_fallback_SOURCES = gwakeuptest.c ../../glib/gwakeup.c
190 gwakeup_fallback_CFLAGS = $(AM_CFLAGS) -DTEST_EVENTFD_FALLBACK
193 # -----------------------------------------------------------------------------
195 EXTRA_DIST += bookmarks.xbel