summaryrefslogtreecommitdiff
path: root/tests/REC/Makefile.am
blob: fa396a2336247c306cc5603a63bfdf338ba892e0 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
## Process this file with automake to produce Makefile.in

$(top_builddir)/libxslt/xsltproc:
	@(cd ../../libxslt ; make xsltproc)

EXTRA_DIST = 						\
    article.xsl bigfont.xsl 				\
    test-10-1.out test-10-1.xml test-10-1.xsl		\
    test-11.2-1.out test-11.2-1.xml test-11.2-1.xsl	\
    test-11.2-2.out test-11.2-2.xml test-11.2-2.xsl	\
    test-11.2-3.out test-11.2-3.xml test-11.2-3.xsl	\
    test-11.2-4.out test-11.2-4.xml test-11.2-4.xsl	\
    test-11.2-5.out test-11.2-5.xml test-11.2-5.xsl	\
    test-11.2-6.out test-11.2-6.xml test-11.2-6.xsl	\
    test-12.2-1.out test-12.2-1.xml test-12.2-1.xsl	\
    test-12.2-2.out test-12.2-2.xml test-12.2-2.xsl	\
    test-15-1.out test-15-1.xml test-15-1.xsl		\
    test-16.1-1.out test-16.1-1.xml test-16.1-1.xsl	\
    test-16.1-2.out test-16.1-2.xml test-16.1-2.xsl	\
    test-2.3-1.out test-2.3-1.xml test-2.3-1.xsl	\
    test-2.3-2.out test-2.3-2.xml test-2.3-2.xsl	\
    test-2.5-1.out test-2.5-1.xml test-2.5-1.xsl	\
    test-2.6.2-1.out test-2.6.2-1.xml test-2.6.2-1.xsl	\
    test-5.2-1.out test-5.2-1.xml test-5.2-1.xsl	\
    test-5.2-2.out test-5.2-2.xml test-5.2-2.xsl	\
    test-5.2-3.out test-5.2-3.xml test-5.2-3.xsl	\
    test-5.2-4.out test-5.2-4.xml test-5.2-4.xsl	\
    test-5.2-5.out test-5.2-5.xml test-5.2-5.xsl	\
    test-5.2-6.out test-5.2-6.xml test-5.2-6.xsl	\
    test-5.2-7.out test-5.2-7.xml test-5.2-7.xsl	\
    test-5.2-8.out test-5.2-8.xml test-5.2-8.xsl	\
    test-5.2-9.out test-5.2-9.xml test-5.2-9.xsl	\
    test-5.2-10.out test-5.2-10.xml test-5.2-10.xsl	\
    test-5.2-11.out test-5.2-11.xml test-5.2-11.xsl	\
    test-5.2-12.out test-5.2-12.xml test-5.2-12.xsl	\
    test-5.2-13.out test-5.2-13.xml test-5.2-13.xsl	\
    test-5.2-14.out test-5.2-14.xml test-5.2-14.xsl	\
    test-5.2-15.out test-5.2-15.xml test-5.2-15.xsl	\
    test-5.2-16.out test-5.2-16.xml test-5.2-16.xsl	\
    test-5.2-17.out test-5.2-17.xml test-5.2-17.xsl	\
    test-5.2-18.out test-5.2-18.xml test-5.2-18.xsl	\
    test-5.3.out test-5.3.xml test-5.3.xsl		\
    test-5.4-1.out test-5.4-1.xml test-5.4-1.xsl	\
    test-5.4-2.out test-5.4-2.xml test-5.4-2.xsl	\
    test-5.4-3.out test-5.4-3.xml test-5.4-3.xsl	\
    test-5.4-4.out test-5.4-4.xml test-5.4-4.xsl	\
    test-5.4-5.out test-5.4-5.xml test-5.4-5.xsl	\
    test-5.8.out test-5.8.xml test-5.8.xsl		\
    test-6.out test-6.xml test-6.xsl			\
    test-7.1.1.out test-7.1.1.xml test-7.1.1.xsl	\
    test-7.1.1-2.out test-7.1.1-2.xml test-7.1.1-2.xsl	\
    test-7.1.1-3.out test-7.1.1-3.xml test-7.1.1-3.xsl	\
    test-7.1.3.out test-7.1.3.xml test-7.1.3.xsl	\
    test-7.1.4.out test-7.1.4.xml test-7.1.4.xsl	\
    test-7.3.out test-7.3.xml test-7.3.xsl		\
    test-7.4.out test-7.4.xml test-7.4.xsl		\
    test-7.5-1.out test-7.5-1.xml test-7.5-1.xsl	\
    test-7.6.1-1.out test-7.6.1-1.xml test-7.6.1-1.xsl	\
    test-7.6.1-2.out test-7.6.1-2.xml test-7.6.1-2.xsl	\
    test-7.6.1-3.out test-7.6.1-3.xml test-7.6.1-3.xsl	\
    test-7.6.2-1.out test-7.6.2-1.xml test-7.6.2-1.xsl	\
    test-7.7-1.out test-7.7-1.xml test-7.7-1.xsl	\
    test-7.7-2.out test-7.7-2.xml test-7.7-2.xsl	\
    test-7.7-3.out test-7.7-3.xml test-7.7-3.xsl	\
    test-7.7-4.out test-7.7-4.xml test-7.7-4.xsl	\
    test-7.7-5.out test-7.7-5.xml test-7.7-5.xsl	\
    test-8-1.out test-8-1.xml test-8-1.xsl		\
    test-9.1-1.out test-9.1-1.xml test-9.1-1.xsl	\
    test-9.1-2.out test-9.1-2.xml test-9.1-2.xsl	\
    test-9.2-1.xsl

all: test

test tests: $(top_builddir)/libxslt/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)/libxslt/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; \
	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
	  rm -f $$name.res ; \
	  done)
	@(for i in $(srcdir)/stand*.xml ; do \
	  name=`basename $$i .xml` ; \
	  echo $$name.xml ; \
	  $(top_builddir)/libxslt/xsltproc $(srcdir)/$$name.xml > $$name.res;\
	  if [ ! -f $(srcdir)/$$name.stand.out ] ; then cp $$name.res $(srcdir)/$$name.stand.out ; \
	  else if  [ ! -s $$name.res ] ; then echo "Fatal error, no $$name.res\n" ; \
	  else diff $(srcdir)/$$name.stand.out $$name.res ; fi ; fi; \
	  grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
	  rm -f $$name.res ; \
	  done)