summaryrefslogtreecommitdiff
path: root/tests/REC1/Makefile.am
blob: 91091877a856900cf0284ac932778ddbf88d230d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## Process this file with automake to produce Makefile.in

$(top_builddir)/libxslt/xsltproc:
	@(cd ../../libxslt ; make xsltproc)

EXTRA_DIST = doc.xsl doc.xml doc.dtd result.xml

all: test

test tests: $(top_builddir)/libxslt/xsltproc
	@(echo > .memdump)
	@($(top_builddir)/libxslt/xsltproc $(srcdir)/doc.xsl $(srcdir)/doc.xml > doc.res ; \
	diff $(srcdir)/result.xml doc.res ; \
	grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
	rm -f doc.res)