summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: fb0fd559a6cb4fb86c264054875ab1172b891c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Process this file with automake to produce Makefile.in

SUBDIRS=docs REC1 REC2 REC general namespaces keys numbers documents \
        extensions reports xmlspec multiple xinclude XSLTMark docbook \
	exslt plugins

all:

# Each subdirectory has it's own Makefile to cater for the unique
# requirements of that subdirectory.  In general, xsltproc will be
# run on the *.xsl / *.xml file combinations, and the output of that
# run will be compared with the "expected" output contained in *.out
# and (if errors are expected) in *.err
test tests:
	@(cur=`pwd` ; for dir in $(SUBDIRS) ; do cd $$dir ; $(MAKE) CHECKER='$(CHECKER)' tests ; cd $$cur ; done)

valgrind:
	@echo '## Running the regression tests under Valgrind'
	@echo '## Go get a cup of coffee it is gonna take a while ...'
	$(MAKE) CHECKER='valgrind -q' tests

full: tests docbook_tests

docbook_tests:
	@(cd docbook ; $(MAKE) full)