summaryrefslogtreecommitdiff
path: root/tests/pr/Makefile.am
blob: d6fdb07c8242871edf66d00dc0a4aef4a08cedb4 (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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
## Process this file with automake to produce Makefile.in.

##test-files-begin
x = pr
explicit = 0F 0FF 0FFnt 0FFt 0FnFnt 0FnFt 0Fnt 0Ft 3-0F 3-5l17f-t 3-FF \
3a2l17-FF 3a3f-0F 3a3l15-t 3a3l8f-t 3b2l17-FF 3b3f-0F 3b3f-0FF 3b3f-FF \
3b3l15-t 3b3l8f-t 3f-0F 3f-FF 3l17f-t 3l24-t 3ml17f-t 3ml24-FF 3ml24-t \
3ml24-t-FF 4-7l24-FF 4l24-FF FF FFn FFtn FnFn T-0FF T-FF T-bl T-t Ta3-0FF \
Ta3-FF Tb3-0FF Tb3-FF a2l15-FF a2l17-FF a3-0F a3f-0F a3f-0FF a3f-FF a3l15-t \
a3l17f-lm a3l8f-t b2l15-FF b2l17-FF b3-0F b3f-0F b3f-0FF b3f-FF b3l15-t \
b3l17f-lm b3l8f-t ja3l17f-lm jb3l17f-lm jml17f-lm-lo l17f-t l24-FF l24-t loli \
ml17f-0F ml17f-lm-lo ml17f-t ml17f-t-0F ml20-FF-t ml24-FF ml24-t ml24-t-FF \
n+2-5l17f-0FF n+2l17f-0FF n+2l17f-bl n+3-7l24-FF n+3l17f-0FF n+3l17f-bl \
n+3ml13f-bl-FF n+3ml17f-bl-tn n+3ml17f-tn-bl n+4-8a2l17-FF n+4b2l10f-0FF \
n+5-8b3l10f-FF n+5a3l6f-0FF n+6a2l17-FF n+6b3l6f-FF n+7l24-FF n+8l20-FF \
nN1+3l17f-bl nN15l17f-bl njml17f-lm-lm-lo njml17f-lm-lo-lm nl17f-bl \
nsml13-bl-FF nsml13-t-t-FF nsml13-t-t-FF-FF nsml17-bl-FF nsml17-t-t-FF \
nsml17-t-t-FF-FF o3a3l17f-tn o3a3sl17f-tn o3a3snl17f-tn o3b3l17f-tn \
o3b3sl17f-tn o3b3snl17f-tn o3jml17f-lm-lo o3ml17f-bl-tn o3msl17f-bl-tn \
o3msnl17f-bl-tn t-0FF t-FF t-bl t-t tFFn tFFt tFFt-bl tFFt-lm tFnFt ta3-0FF \
ta3-FF tb3-0FF tb3-FF tn w20l17f-lm w25l17f-lm w26l17f-lm w35a3l17f-lm \
w35b3l17f-lm w35ja3l17f-lm w35jb3l17f-lm w35jml17f-lm-lo w35ml17f-lm-lo \
w48l17f-lm w72j-0FF
maint_gen =
run_gen = t1a.out t1a.err t1b.out t1b.err t1c.out t1c.err t1d.out t1d.err \
t1e.out t1e.err t1f.out t1f.err t1g.out t1g.err t1h.out t1h.err t1i.out \
t1i.err t1j.out t1j.err t1k.out t1k.err t1l.out t1l.err t2a.out t2a.err \
t2b.out t2b.err t2c.out t2c.err t2d.out t2d.err t2e.out t2e.err t2f.out \
t2f.err t2g.out t2g.err t2h.out t2h.err t2i.out t2i.err t2j.out t2j.err \
t3a.out t3a.err t3b.out t3b.err t3c.out t3c.err t3d.out t3d.err t3e.out \
t3e.err t3f.out t3f.err t3g.out t3g.err t3h.out t3h.err t3i.out t3i.err \
t3j.out t3j.err t3k.out t3k.err t3l.out t3l.err t3m.out t3m.err t3la.out \
t3la.err t3lb.out t3lb.err t3lc.out t3lc.err t3ld.out t3ld.err t3le.out \
t3le.err t3lf.out t3lf.err t3aa.out t3aa.err t3ab.out t3ab.err t3ac.out \
t3ac.err t3ad.out t3ad.err t3ae.out t3ae.err t3af.out t3af.err t3ag.out \
t3ag.err t3ah.out t3ah.err t3ai.out t3ai.err t3aj.out t3aj.err t3ak.out \
t3ak.err t3ba.out t3ba.err t3bb.out t3bb.err t3bc.out t3bc.err t3bd.out \
t3bd.err t3be.out t3be.err t3bf.out t3bf.err t3bg.out t3bg.err t3bh.out \
t3bh.err t3bi.out t3bi.err t3bj.out t3bj.err t3bk.out t3bk.err t3Pa.out \
t3Pa.err t3Pb.out t3Pb.err t3Pc.out t3Pc.err t3Pd.out t3Pd.err t3Pe.out \
t3Pe.err t3Pf.out t3Pf.err t3Pg.out t3Pg.err t3Paa.out t3Paa.err t3Pab.out \
t3Pab.err t3Pac.out t3Pac.err t3Pad.out t3Pad.err t3Pae.out t3Pae.err \
t3Paf.out t3Paf.err t3Pba.out t3Pba.err t3Pbb.out t3Pbb.err t3Pbc.out \
t3Pbc.err t3Pbd.out t3Pbd.err t3Pbe.out t3Pbe.err t3Pbf.out t3Pbf.err t4a.out \
t4a.err t4b.out t4b.err t4c.out t4c.err t4d.out t4d.err t4e.out t4e.err \
t4f.out t4f.err t4g.out t4g.err t4h.out t4h.err t4i.out t4i.err t4j.out \
t4j.err t4k.out t4k.err t4l.out t4l.err t4m.out t4m.err t5a.out t5a.err \
t5b.out t5b.err t5c.out t5c.err t5d.out t5d.err t5e.out t5e.err t5f.out \
t5f.err t5g.out t5g.err t5ma.out t5ma.err t5mb.out t5mb.err t5mc.out t5mc.err \
t5md.out t5md.err t5Pma.out t5Pma.err t5Pmb.out t5Pmb.err t5Pmc.out t5Pmc.err \
t6a.out t6a.err t6b.out t6b.err t6c.out t6c.err t6d.out t6d.err t6e.out \
t6e.err t6f.out t6f.err t6g.out t6g.err t6aa.out t6aa.err t6ab.out t6ab.err \
t6ac.out t6ac.err t6ba.out t6ba.err t6bb.out t6bb.err t6bc.out t6bc.err \
t7a.out t7a.err t7b.out t7b.err t7c.out t7c.err t7d.out t7d.err t7e.out \
t7e.err t7f.out t7f.err t7g.out t7g.err t7aa.out t7aa.err t7ab.out t7ab.err \
t7ac.out t7ac.err t7ba.out t7ba.err t7bb.out t7bb.err t7bc.out t7bc.err \
t9a.out t9a.err t9b.out t9b.err t9Pa.out t9Pa.err t9Pb.out t9Pb.err t9Pc.out \
t9Pc.err t9Pe.out t9Pe.err t9Pf.out t9Pf.err t9Pg.out t9Pg.err t9Ph.out \
t9Ph.err t9Pi.out t9Pi.err t9Pj.out t9Pj.err t9Pk.out t9Pk.err t9Pl.out \
t9Pl.err t9Pm.out t9Pm.err t9Pn.out t9Pn.err t9Po.out t9Po.err t9Pp.out \
t9Pp.err t9Pq.out t9Pq.err t9Pr.out t9Pr.err t9Ps.out t9Ps.err t9Pt.out \
t9Pt.err t9Paa.out t9Paa.err t9Pab.out t9Pab.err t9Pac.out t9Pac.err \
t9Pad.out t9Pad.err t9Pae.out t9Pae.err t9Paf.out t9Paf.err t9Pag.out \
t9Pag.err t9Pah.out t9Pah.err t9Pai.out t9Pai.err t9Paj.out t9Paj.err \
t9Pak.out t9Pak.err t9Pba.out t9Pba.err t9Pbb.out t9Pbb.err t9Pbc.out \
t9Pbc.err t9Pbd.out t9Pbd.err t9Pbe.out t9Pbe.err t9Pbf.out t9Pbf.err \
t9Pbg.out t9Pbg.err t9Pbh.out t9Pbh.err t9Pbi.out t9Pbi.err t9Pbj.out \
t9Pbj.err t9Pbk.out t9Pbk.err t9Pma.out t9Pma.err t9Pmb.out t9Pmb.err \
t9Pmc.out t9Pmc.err t10a.out t10a.err t10b.out t10b.err t10c.out t10c.err \
t10d.out t10d.err t10e.out t10e.err t10ma.out t10ma.err t10mb.out t10mb.err \
t10mc.out t10mc.err t10md.out t10md.err t10me.out t10me.err t10mf.out \
t10mf.err t10aa.out t10aa.err t10ab.out t10ab.err t10ac.out t10ac.err \
t10ad.out t10ad.err t10ba.out t10ba.err t10bb.out t10bb.err t10bc.out \
t10bc.err t10bd.out t10bd.err t11a.out t11a.err t11b.out t11b.err t11e.out \
t11e.err t11f.out t11f.err t11g.out t11g.err t11h.out t11h.err t12aa.out \
t12aa.err t12ab.out t12ab.err t12ac.out t12ac.err t12ba.out t12ba.err \
t12bb.out t12bb.err t12bc.out t12bc.err t12ma.out t12ma.err t12mb.out \
t12mb.err t12mc.out t12mc.err t12md.out t12md.err
##test-files-end

EXTRA_DIST = mk-script.pl Test.pm $x-tests $(explicit) $(maint_gen)
noinst_SCRIPTS = $x-tests

PERL = @PERL@
editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,@srcdir@,g'

TESTS = $x-tests

$x-tests: @MAINT@mk-script Test.pm
	./mk-script ../../src/$x > $@.n
	mv $@.n $@
	chmod 755 $@

SUFFIXES = .pl

.pl:
	rm -f $@ $@.tmp
	$(editpl) $< > $@.tmp
	chmod +x-w $@.tmp
	mv $@.tmp $@

MAINTAINERCLEANFILES = $x-tests $(maint_gen)
CLEANFILES = $(run_gen)

@MAINT@rebuild-check: Test.pm mk-script
@MAINT@	rb=rb-check; rm -f $rb; \
@MAINT@	m_template=../Makefile.am.in; \
@MAINT@	sed -n '1,/^##test-files-begin/p' $$m_template > $$rb; \
@MAINT@	tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
@MAINT@	echo "x = $$tool" >> $$rb; \
@MAINT@	./mk-script --list >> $$rb; \
@MAINT@	sed -n '/^##test-files-end/,$$p' $$m_template >> $$rb; \
@MAINT@	diff -u Makefile.am $$rb && echo ok || echo no