1 ## Process this file with automake to produce Makefile.in
3 $(top_builddir)/xsltproc/xsltproc:
4 @(cd ../../xsltproc ; $(MAKE) xsltproc)
7 bredfort.css bredfort.xsl doc_file.xml docfile.xml \
8 fragment2.xml fragment.result fragment.xml fragment.xsl \
9 index.xml menu.xml message.result message.xml message.xsl \
10 result.xhtml system.xml test_bad.err test_bad.result \
11 test_bad.xml test.result test.xml test.xsl worklog.xml
16 @echo '## Running the regression tests under Valgrind'
17 $(MAKE) CHECKER='libtool --mode=execute valgrind -q --leak-check=full' tests
19 test tests: $(top_builddir)/xsltproc/xsltproc
21 @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/bredfort.xsl $(srcdir)/index.xml > result ; \
22 diff $(srcdir)/result.xhtml result; \
23 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true;\
25 @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/test.xsl $(srcdir)/test.xml > result ; \
26 diff $(srcdir)/test.result result; \
27 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true;\
29 @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/test.xsl $(srcdir)/test_bad.xml > result 2>err ; \
30 diff $(srcdir)/test_bad.result result; \
31 diff $(srcdir)/test_bad.err err; \
32 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true;\
34 @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/message.xsl $(srcdir)/message.xml > result 2>&1 ; \
35 diff $(srcdir)/message.result result; \
36 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true;\
38 @($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/fragment.xsl $(srcdir)/fragment.xml > result 2>&1 ; \
39 diff $(srcdir)/fragment.result result; \
40 grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true;\