added extra2.err, tst5.xml, tst5.xsl and tst.out to EXTRA_DIST
[platform/upstream/libxslt.git] / tests / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 SUBDIRS=docs REC1 REC2 REC general namespaces keys numbers documents \
4         extensions reports xmlspec multiple XSLTMark docbook exslt
5
6 all:
7
8 # Each subdirectory has it's own Makefile to cater for the unique
9 # requirements of that subdirectory.  In general, xsltproc will be
10 # run on the *.xsl / *.xml file combinations, and the output of that
11 # run will be compared with the "expected" output contained in *.out
12 # and (if errors are expected) in *.err
13 test tests:
14         @(cur=`pwd` ; for dir in $(SUBDIRS) ; do cd $$dir ; $(MAKE) CHECKER='$(CHECKER)' tests ; cd $$cur ; done)
15
16 valgrind:
17         @echo '## Running the regression tests under Valgrind'
18         @echo '## Go get a cup of coffee it is gonna take a while ...'
19         $(MAKE) CHECKER='valgrind -q' tests
20
21 full: tests docbook_tests
22
23 docbook_tests:
24         @(cd docbook ; $(MAKE) full)
25