summaryrefslogtreecommitdiff
path: root/tests/XSLTMark
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-03-06 15:11:50 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-03-06 15:11:50 +0000
commitefe7443c2b073c7d9f43b559dbcab9f1a93cf8dc (patch)
treeb6e927099b9eefd3e5dae187e0ee5378af24d6f7 /tests/XSLTMark
parentf11fd0945cbbead3b0e1a2c16c295ce2bdcecc73 (diff)
downloadlibxslt-efe7443c2b073c7d9f43b559dbcab9f1a93cf8dc.tar.gz
libxslt-efe7443c2b073c7d9f43b559dbcab9f1a93cf8dc.tar.bz2
libxslt-efe7443c2b073c7d9f43b559dbcab9f1a93cf8dc.zip
continued interrupt commit for enhanced "make tests"
Diffstat (limited to 'tests/XSLTMark')
-rw-r--r--tests/XSLTMark/Makefile.am1063
1 files changed, 662 insertions, 401 deletions
diff --git a/tests/XSLTMark/Makefile.am b/tests/XSLTMark/Makefile.am
index ed80f7d8..5f68d024 100644
--- a/tests/XSLTMark/Makefile.am
+++ b/tests/XSLTMark/Makefile.am
@@ -47,18 +47,21 @@ EXTRA_DIST = \
xslbench3.out xslbench3.xsl \
xslbenchdream.xml
+ALL_TESTS= alphabetize attsets avts axis backwards bottles breadth brutal chart \
+ creation current dbonerow dbtail decoy depth encrypt functions game \
+ html identity inventory metric number oddtemplate patterns prettyprint \
+ priority products queens reverser stringsort summarize total tower trend \
+ union xpath xslbench1 xslbench2 xslbench3
+
+
$(top_builddir)/xsltproc/xsltproc:
@(cd ../../xsltproc ; $(MAKE) xsltproc)
all:
-tests test: \
- alphabetize attsets avts axis backwards bottles breadth brutal chart \
- creation current dbonerow dbtail decoy depth encrypt functions game \
- html identity inventory metric number oddtemplate patterns prettyprint \
- priority products queens reverser stringsort summarize total tower trend \
- union xpath xslbench1 xslbench2 xslbench3
- rm -f *.tmp
+test tests:
+ @echo '## Running XSLTMark tests'
+ @for i in $(ALL_TESTS); do $(MAKE) $$i; done
valgrind:
@echo '## Running the regression tests under Valgrind'
@@ -78,402 +81,660 @@ db1000.xml: $(srcdir)/dbgen.pl
db10000.xml: $(srcdir)/dbgen.pl
$(PERL) $(srcdir)/dbgen.pl 10000 > db10000.xml
-alphabetize: db100.xml
- @(echo > .memdump)
- @(echo alphabetize)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/alphabetize.xsl db100.xml > alphabetize.tmp; \
- if [ ! -f $(srcdir)/alphabetize.out ] ; then cp alphabetize.tmp $(srcdir)/alphabetize.out ; \
- else diff $(srcdir)/alphabetize.out alphabetize.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-
-# reference=alphabetize.ref
-
-avts: db100.xml
- @(echo > .memdump)
- @(echo avts)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/avts.xsl db100.xml > avts.tmp; \
- if [ ! -f $(srcdir)/avts.out ] ; then cp avts.tmp $(srcdir)/avts.out ; \
- else diff $(srcdir)/avts.out avts.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=avts.ref
-
-creation: db100.xml
- @(echo > .memdump)
- @(echo creation)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/creation.xsl db100.xml > creation.tmp; \
- if [ ! -f $(srcdir)/creation.out ] ; then cp creation.tmp $(srcdir)/creation.out ; \
- else diff $(srcdir)/creation.out creation.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=creation.ref
-
-dbonerow: db10000.xml
- @(echo > .memdump)
- @(echo dbonerow)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/dbonerow.xsl db10000.xml > dbonerow.tmp; \
- if [ ! -f $(srcdir)/dbonerow.out ] ; then cp dbonerow.tmp $(srcdir)/dbonerow.out ; \
- else diff $(srcdir)/dbonerow.out dbonerow.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=dbonerow.ref
-
-dbtail: db100.xml
- @(echo > .memdump)
- @(echo dbtail)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/dbtail.xsl db100.xml > dbtail.tmp; \
- if [ ! -f $(srcdir)/dbtail.out ] ; then cp dbtail.tmp $(srcdir)/dbtail.out ; \
- else diff $(srcdir)/dbtail.out dbtail.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=dbtail.ref
-
-decoy: db100.xml
- @(echo > .memdump)
- @(echo decoy)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/decoy.xsl db100.xml > decoy.tmp; \
- if [ ! -f $(srcdir)/decoy.out ] ; then cp decoy.tmp $(srcdir)/decoy.out ; \
- else diff $(srcdir)/decoy.out decoy.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=patterns.ref
-
-encrypt: db100.xml
- @(echo > .memdump)
- @(echo encrypt)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/encrypt.xsl db100.xml > encrypt.tmp; \
- if [ ! -f $(srcdir)/encrypt.out ] ; then cp encrypt.tmp $(srcdir)/encrypt.out ; \
- else diff $(srcdir)/encrypt.out encrypt.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=encrypt.ref
-
-functions: db100.xml
- @(echo > .memdump)
- @(echo functions)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/functions.xsl db100.xml > functions.tmp; \
- if [ ! -f $(srcdir)/functions.out ] ; then cp functions.tmp $(srcdir)/functions.out ; \
- else diff $(srcdir)/functions.out functions.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=functions.ref
-
-identity: db1000.xml
- @(echo > .memdump)
- @(echo identity)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/identity.xsl db1000.xml > identity.tmp; \
- if [ ! -f $(srcdir)/identity.out ] ; then cp identity.tmp $(srcdir)/identity.out ; \
- else diff $(srcdir)/identity.out identity.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=identity.ref
-
-inventory:
- @(echo > .memdump)
- @(echo inventory)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/inventory.xsl $(srcdir)/inventory.xml > inventory.tmp; \
- if [ ! -f $(srcdir)/inventory.out ] ; then cp inventory.tmp $(srcdir)/inventory.out ; \
- else diff $(srcdir)/inventory.out inventory.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=inventory.ref
-
-patterns: db100.xml
- @(echo > .memdump)
- @(echo patterns)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/patterns.xsl db100.xml > patterns.tmp; \
- if [ ! -f $(srcdir)/patterns.out ] ; then cp patterns.tmp $(srcdir)/patterns.out ; \
- else diff $(srcdir)/patterns.out patterns.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=patterns.ref
-
-prettyprint: db100.xml
- @(echo > .memdump)
- @(echo prettyprint)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/prettyprint.xsl db100.xml > prettyprint.tmp; \
- if [ ! -f $(srcdir)/prettyprint.out ] ; then cp prettyprint.tmp $(srcdir)/prettyprint.out ; \
- else diff $(srcdir)/prettyprint.out prettyprint.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=prettyprint.ref
-
-stringsort: db1000.xml
- @(echo > .memdump)
- @(echo stringsort)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/stringsort.xsl db1000.xml > stringsort.tmp; \
- if [ ! -f $(srcdir)/stringsort.out ] ; then cp stringsort.tmp $(srcdir)/stringsort.out ; \
- else diff $(srcdir)/stringsort.out stringsort.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=stringsort.ref
+alphabetize: db100.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+avts: db100.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+creation: db100.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+dbonerow: db10000.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+dbtail: db100.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+decoy: db100.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+encrypt: db100.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+functions: db100.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+identity: db1000.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+patterns: db100.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+prettyprint: db100.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+stringsort: db1000.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+else
+
+alphabetize:
+avts:
+creation:
+dbonerow:
+dbtail:
+decoy:
+encrypt:
+functions:
+identity:
+patterns:
+prettyprint:
+stringsort:
endif
-attsets:
- @(echo > .memdump)
- @(echo attsets)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/attsets.xsl $(srcdir)/chart.xml > attsets.tmp; \
- if [ ! -f $(srcdir)/attsets.out ] ; then cp attsets.tmp $(srcdir)/attsets.out ; \
- else diff $(srcdir)/attsets.out attsets.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=attsets.ref
-
-axis:
- @(echo > .memdump)
- @(echo axis)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/axis.xsl $(srcdir)/axis.xml > axis.tmp; \
- if [ ! -f $(srcdir)/axis.out ] ; then cp axis.tmp $(srcdir)/axis.out ; \
- else diff $(srcdir)/axis.out axis.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=axis.ref
-
-backwards:
- @(echo > .memdump)
- @(echo backwards)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/backwards.xsl $(srcdir)/game.xml > backwards.tmp; \
- if [ ! -f $(srcdir)/backwards.out ] ; then cp backwards.tmp $(srcdir)/backwards.out ; \
- else diff $(srcdir)/backwards.out backwards.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=backwards.ref
-
-bottles:
- @(echo > .memdump)
- @(echo bottles)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/bottles.xsl $(srcdir)/bottles.xml > bottles.tmp; \
- if [ ! -f $(srcdir)/bottles.out ] ; then cp bottles.tmp $(srcdir)/bottles.out ; \
- else diff $(srcdir)/bottles.out bottles.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=bottles.ref
-
-breadth:
- @(echo > .memdump)
- @(echo breadth)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/find.xsl $(srcdir)/breadth.xml > breadth.tmp; \
- if [ ! -f $(srcdir)/breadth.out ] ; then cp breadth.tmp $(srcdir)/breadth.out ; \
- else diff $(srcdir)/breadth.out breadth.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=breadth.ref
-
-brutal:
- @(echo > .memdump)
- @(echo brutal)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/brutal.xsl $(srcdir)/brutal.xml > brutal.tmp; \
- if [ ! -f $(srcdir)/brutal.out ] ; then cp brutal.tmp $(srcdir)/brutal.out ; \
- else diff $(srcdir)/brutal.out brutal.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=brutal.ref
-
-chart:
- @(echo > .memdump)
- @(echo chart)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/chart.xsl $(srcdir)/chart.xml > chart.tmp; \
- if [ ! -f $(srcdir)/chart.out ] ; then cp chart.tmp $(srcdir)/chart.out ; \
- else diff $(srcdir)/chart.out chart.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=chart.ref
-
-current:
- @(echo > .memdump)
- @(echo current)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/current.xsl $(srcdir)/current.xml > current.tmp; \
- if [ ! -f $(srcdir)/current.out ] ; then cp current.tmp $(srcdir)/current.out ; \
- else diff $(srcdir)/current.out current.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=current.ref
-
-depth:
- @(echo > .memdump)
- @(echo depth)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/find.xsl $(srcdir)/depth.xml > depth.tmp; \
- if [ ! -f $(srcdir)/depth.out ] ; then cp depth.tmp $(srcdir)/depth.out ; \
- else diff $(srcdir)/depth.out depth.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=depth.ref
-
-game:
- @(echo > .memdump)
- @(echo game)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/game.xsl $(srcdir)/game.xml > game.tmp; \
- if [ ! -f $(srcdir)/game.out ] ; then cp game.tmp $(srcdir)/game.out ; \
- else diff $(srcdir)/game.out game.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=game.ref
-
-html:
- @(echo > .memdump)
- @(echo html)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/html.xsl $(srcdir)/html.xml > html.tmp; \
- if [ ! -f $(srcdir)/html.out ] ; then cp html.tmp $(srcdir)/html.out ; \
- else diff $(srcdir)/html.out html.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=html.ref
-
-metric:
- @(echo > .memdump)
- @(echo metric)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/metric.xsl $(srcdir)/metric.xml > metric.tmp; \
- if [ ! -f $(srcdir)/metric.out ] ; then cp metric.tmp $(srcdir)/metric.out ; \
- else diff $(srcdir)/metric.out metric.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=metric.ref
-
-number:
- @(echo > .memdump)
- @(echo number)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/number.xsl $(srcdir)/number.xml > number.tmp; \
- if [ ! -f $(srcdir)/number.out ] ; then cp number.tmp $(srcdir)/number.out ; \
- else diff $(srcdir)/number.out number.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-iterations=100
-skipdriver=ExternalDriver:txdriver
-
-oddtemplate:
- @(echo > .memdump)
- @(echo oddtemplate)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/oddtemplate.xsl $(srcdir)/oddtemplate.xml > oddtemplate.tmp; \
- if [ ! -f $(srcdir)/oddtemplate.out ] ; then cp oddtemplate.tmp $(srcdir)/oddtemplate.out ; \
- else diff $(srcdir)/oddtemplate.out oddtemplate.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=oddtemplate.ref
-
-priority:
- @(echo > .memdump)
- @(echo priority)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/priority.xsl $(srcdir)/priority.xml > priority.tmp; \
- if [ ! -f $(srcdir)/priority.out ] ; then cp priority.tmp $(srcdir)/priority.out ; \
- else diff $(srcdir)/priority.out priority.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=priority.ref
-
-products:
- @(echo > .memdump)
- @(echo products)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/products.xsl $(srcdir)/products.xml > products.tmp; \
- if [ ! -f $(srcdir)/products.out ] ; then cp products.tmp $(srcdir)/products.out ; \
- else diff $(srcdir)/products.out products.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=products.ref
-
-queens:
- @(echo > .memdump)
- @(echo queens)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/queens.xsl $(srcdir)/queens.xml > queens.tmp; \
- if [ ! -f $(srcdir)/queens.out ] ; then cp queens.tmp $(srcdir)/queens.out ; \
- else diff $(srcdir)/queens.out queens.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=queens.ref
-
-reverser:
- @(echo > .memdump)
- @(echo reverser)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/reverser.xsl $(srcdir)/gettysburg.xml > reverser.tmp; \
- if [ ! -f $(srcdir)/reverser.out ] ; then cp reverser.tmp $(srcdir)/reverser.out ; \
- else diff $(srcdir)/reverser.out reverser.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=reverser.ref
-
-summarize:
- @(echo > .memdump)
- @(echo summarize)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/summarize.xsl $(srcdir)/queens.xsl > summarize.tmp; \
- if [ ! -f $(srcdir)/summarize.out ] ; then cp summarize.tmp $(srcdir)/summarize.out ; \
- else diff $(srcdir)/summarize.out summarize.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=summarize.ref
-
-total:
- @(echo > .memdump)
- @(echo total)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/total.xsl $(srcdir)/chart.xml > total.tmp; \
- if [ ! -f $(srcdir)/total.out ] ; then cp total.tmp $(srcdir)/total.out ; \
- else diff $(srcdir)/total.out total.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=total.ref
-
-tower:
- @(echo > .memdump)
- @(echo tower)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/tower.xsl $(srcdir)/tower.xml > tower.tmp; \
- if [ ! -f $(srcdir)/tower.out ] ; then cp tower.tmp $(srcdir)/tower.out ; \
- else diff $(srcdir)/tower.out tower.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=tower.ref
-
-trend:
- @(echo > .memdump)
- @(echo trend)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/trend.xsl $(srcdir)/trend.xml > trend.tmp; \
- if [ ! -f $(srcdir)/trend.out ] ; then cp trend.tmp $(srcdir)/trend.out ; \
- else diff $(srcdir)/trend.out trend.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=trend.ref
-
-union:
- @(echo > .memdump)
- @(echo union)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/union.xsl $(srcdir)/union.xml > union.tmp; \
- if [ ! -f $(srcdir)/union.out ] ; then cp union.tmp $(srcdir)/union.out ; \
- else diff $(srcdir)/union.out union.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=union.ref
-
-xpath:
- @(echo > .memdump)
- @(echo xpath)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/xpath.xsl $(srcdir)/xpath.xml > xpath.tmp; \
- if [ ! -f $(srcdir)/xpath.out ] ; then cp xpath.tmp $(srcdir)/xpath.out ; \
- else diff $(srcdir)/xpath.out xpath.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-# reference=xpath.ref
-
-xslbench1:
- @(echo > .memdump)
- @(echo xslbench1)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/xslbench1.xsl $(srcdir)/xslbench1.xml > xslbench1.tmp; \
- if [ ! -f $(srcdir)/xslbench1.out ] ; then cp xslbench1.tmp $(srcdir)/xslbench1.out ; \
- else diff $(srcdir)/xslbench1.out xslbench1.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-xslbench2:
- @(echo > .memdump)
- @(echo xslbench2)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/xslbench2.xsl $(srcdir)/xslbenchdream.xml > xslbench2.tmp; \
- if [ ! -f $(srcdir)/xslbench2.out ] ; then cp xslbench2.tmp $(srcdir)/xslbench2.out ; \
- else diff $(srcdir)/xslbench2.out xslbench2.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
-xslbench3:
- @(echo > .memdump)
- @(echo xslbench3)
- @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/xslbench3.xsl $(srcdir)/xslbenchdream.xml > xslbench3.tmp; \
- if [ ! -f $(srcdir)/xslbench3.out ] ; then cp xslbench3.tmp $(srcdir)/xslbench3.out ; \
- else diff $(srcdir)/xslbench3.out xslbench3.tmp ; fi ; \
- grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true )
-
+attsets: chart.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+axis: axis.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+backwards: game.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+bottles: bottles.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+brutal: brutal.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+chart: chart.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+current: current.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+game: game.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+html: html.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+inventory: inventory.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+metric: metric.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+number: number.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+oddtemplate: oddtemplate.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+priority: priority.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+products: products.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+queens: queens.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+reverser: gettysburg.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+summarize: queens.xsl
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+total: chart.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+tower: tower.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+trend: trend.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+union: union.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+xpath: xpath.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+xslbench1: xslbench1.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+xslbench2: xslbenchdream.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+xslbench3: xslbenchdream.xml
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/$@.xsl $< > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+breadth:
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/find.xsl $@.xml > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp
+
+depth:
+ @(echo > .memdump)
+ @log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
+ $(srcdir)/find.xsl $@.xml > $@.tmp; \
+ if [ ! -f $(srcdir)/$@.out ] ; then \
+ cp $@.tmp $(srcdir)/$@.out ; \
+ else \
+ diff $(srcdir)/$@.out $@.tmp ; \
+ fi ; \
+ grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
+ @if [ -n "$$log" ] ; then \
+ echo $@ result ; \
+ echo $$log ; \
+ fi
+ @rm -f $@.tmp