blob: 32e22e3c7ee3798f89152b90b29c3551f7717469 (
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
27
28
29
30
31
32
33
34
35
36
37
38
|
## 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)
$(MAKE) plugin_tests
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)
if WITH_MODULES
plugin_tests:
@echo Running the plugin tests...
@(cd plugins && LIBXSLT_PLUGINS_PATH=. $(top_builddir)/../xsltproc/xsltproc plugin.xsl plugin.xml)
else
plugin_tests:
@echo Skipping the plugin tests.
endif
|