summaryrefslogtreecommitdiff
path: root/tests/numbers/Makefile.am
blob: 803fdeda394f6b9bffadc6b47f3ab3ea37ba2768 (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 = format-number.xsl format-number.xml format-number.out

all: test

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