summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: 8fd4e8b5c1e45ded876a6d2416aec352aaef1696 (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
## Process this file with automake to produce Makefile.in

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

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)