generator: _c_accessor_get_length: remove buggy special case
[free-sw/xcb/libxcb] / tests / Makefile.am
1 ########################
2 ## tests/Makefile.am
3 ########################
4 SUBDIRS = 
5 EXTRA_DIST = CheckLog.xsl
6 AM_MAKEFLAGS = -k
7 AM_CFLAGS = -Wall -Werror @CHECK_CFLAGS@ -I$(top_srcdir)/src
8 LDADD = @CHECK_LIBS@ $(top_builddir)/src/libxcb.la
9
10 if HAVE_CHECK
11 TESTS = check_all
12 check_PROGRAMS = check_all
13 check_all_SOURCES =  check_all.c check_suites.h check_public.c
14
15 check-local: check-TESTS
16         $(RM) CheckLog.html
17         if test x$(HTML_CHECK_RESULT) = xyes; then \
18                 $(XSLTPROC) $(srcdir)/CheckLog.xsl CheckLog*.xml > CheckLog.html; \
19         else \
20                 touch CheckLog.html; \
21         fi
22
23 CheckLog.html: $(check_PROGRAMS)
24         $(MAKE) $(AM_MAKEFLAGS) check;
25
26 endif
27
28 clean-local::
29         $(RM) CheckLog.html CheckLog*.txt CheckLog*.xml