blob: 9770058c33020d96953387f8c3a558dbd83e70b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
## Process this file with automake to produce Makefile.in
$(top_builddir)/xsltproc/xsltproc:
@(cd ../../xsltproc ; $(MAKE) xsltproc)
EXTRA_DIST = REC-xml-20001006.xml xmlspec-v21.dtd W3C-REC.css \
logo-REC xmlspec.xsl REC-xml-2e.xsl diffspec.xsl \
REC-xml-20001006.html REC-xml-20001006-review.html
CLEANFILES = .memdump debug
valgrind:
@echo '## Running the regression tests under Valgrind'
$(MAKE) CHECKER='libtool --mode=execute valgrind -q --leak-check=full' tests
test tests: $(top_builddir)/xsltproc/xsltproc
@echo '## Running xmlspec tests'
@(echo > .memdump)
@log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc -timing \
$(srcdir)/REC-xml-2e.xsl $(srcdir)/REC-xml-20001006.xml \
> REC-xml-20001006.out 2> debug ; \
diff $(srcdir)/REC-xml-20001006.html REC-xml-20001006.out | \
grep -v 'id[0-9]' | grep -v -- '---' | grep -v 100 | grep -v 3866 ; \
grep implemented debug | sort | uniq -c || true; \
grep " ms$$" debug || true; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
@if [ -n "$$log" ] ; then \
echo REC-xml-20001006 result ; \
echo "$$log" ; \
fi
@rm -f REC-xml-20001006.out
@log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc \
-timing --param show.diff.markup 1 \
$(srcdir)/REC-xml-2e.xsl $(srcdir)/REC-xml-20001006.xml \
> REC-xml-20001006-review.out 2> debug ; \
diff $(srcdir)/REC-xml-20001006-review.html REC-xml-20001006-review.out | \
grep -v 'id[0-9]' | grep -v -- '---' | grep -v 117 | grep -v 4066 ; \
grep implemented debug | sort | uniq -c || true; \
grep " ms$$" debug || true; \
grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" || true`
@if [ -n "$$log" ] ; then \
echo "REC-xml-20001006 (show.diff.markup) result" ; \
echo "$$log" ; \
fi
@rm -f REC-xml-20001006-review.out
|