diff options
Diffstat (limited to 'tests/exslt/sets/Makefile.am')
-rw-r--r-- | tests/exslt/sets/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/exslt/sets/Makefile.am b/tests/exslt/sets/Makefile.am index 8b0b9818..6c1a7a38 100644 --- a/tests/exslt/sets/Makefile.am +++ b/tests/exslt/sets/Makefile.am @@ -12,13 +12,17 @@ EXTRA_DIST = \ all: +valgrind: + @echo '## Running the regression tests under Valgrind' + $(MAKE) CHECKER='valgrind -q' tests + test tests: $(top_builddir)/xsltproc/xsltproc @(echo > .memdump) @(for i in $(srcdir)/*.xsl ; do \ name=`basename $$i .xsl` ; \ if [ ! -f $(srcdir)/$$name.xml ] ; then continue ; fi ; \ echo $$name.xml ; \ - $(top_builddir)/xsltproc/xsltproc $(srcdir)/$$name.xsl $(srcdir)/$$name.xml > $$name.res;\ + $(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/$$name.xsl $(srcdir)/$$name.xml > $$name.res;\ if [ ! -f $(srcdir)/$$name.out ] ; then cp $$name.res $(srcdir)/$$name.out ; \ else if [ ! -s $$name.res ] ; then echo "Fatal error, no $$name.res\n" ; \ else diff $(srcdir)/$$name.out $$name.res ; fi ; fi; \ |