1 | CLEANFILES = tmp* core *.core $(EXTRA_PROGRAMS) *.*out *.log
|
---|
2 |
|
---|
3 | TESTS = $(check_PROGRAMS) $(SEDTESTS)
|
---|
4 | SEDTESTS =
|
---|
5 |
|
---|
6 | LDADD = ../lib/libsed.a
|
---|
7 | noinst_HEADERS = testcases.h ptestcases.h
|
---|
8 | AM_CPPFLAGS = -I../lib
|
---|
9 |
|
---|
10 | if TEST_REGEX
|
---|
11 | check_PROGRAMS = bug-regex7 \
|
---|
12 | bug-regex8 bug-regex9 bug-regex10 bug-regex11 bug-regex12 \
|
---|
13 | bug-regex13 bug-regex14 bug-regex15 bug-regex16 bug-regex21 \
|
---|
14 | tst-pcre tst-boost runtests runptests tst-rxspencer tst-regex2
|
---|
15 |
|
---|
16 | SEDTESTS += space
|
---|
17 | endif
|
---|
18 |
|
---|
19 | SEDTESTS += \
|
---|
20 | appquit enable sep inclib 8bit newjis xabcx dollar noeol noeolw \
|
---|
21 | modulo numsub numsub2 numsub3 numsub4 numsub5 0range bkslashes \
|
---|
22 | head madding mac-mf empty xbxcx xbxcx3 recall recall2 xemacs \
|
---|
23 | fasts uniq manis khadafy linecnt eval distrib 8to7 y-bracket \
|
---|
24 | y-newline allsub cv-vars classes middle bsd stdin flipcase \
|
---|
25 | insens subwrite writeout readin \
|
---|
26 | help version file quiet \
|
---|
27 | factor binary3 binary2 binary dc
|
---|
28 |
|
---|
29 | TESTS_ENVIRONMENT = MAKE="$(MAKE)" VERSION="$(VERSION)" $(srcdir)/runtest
|
---|
30 |
|
---|
31 | EXTRA_DIST = \
|
---|
32 | PCRE.tests BOOST.tests SPENCER.tests \
|
---|
33 | runtest Makefile.tests \
|
---|
34 | 0range.good 0range.inp 0range.sed \
|
---|
35 | 8bit.good 8bit.inp 8bit.sed \
|
---|
36 | 8to7.good 8to7.inp 8to7.sed \
|
---|
37 | allsub.good allsub.inp allsub.sed \
|
---|
38 | appquit.good appquit.inp appquit.sed \
|
---|
39 | binary.good binary.inp binary.sed binary2.sed binary3.sed \
|
---|
40 | bkslashes.good bkslashes.inp bkslashes.sed \
|
---|
41 | bsd.good bsd.sh \
|
---|
42 | cv-vars.good cv-vars.inp cv-vars.sed \
|
---|
43 | classes.good classes.inp classes.sed \
|
---|
44 | dc.good dc.inp dc.sed \
|
---|
45 | distrib.good distrib.inp distrib.sed distrib.sh \
|
---|
46 | dollar.good dollar.inp dollar.sed \
|
---|
47 | empty.good empty.inp empty.sed \
|
---|
48 | enable.good enable.inp enable.sed \
|
---|
49 | eval.good eval.inp eval.sed \
|
---|
50 | factor.good factor.inp factor.sed \
|
---|
51 | fasts.good fasts.inp fasts.sed \
|
---|
52 | flipcase.good flipcase.inp flipcase.sed \
|
---|
53 | head.good head.inp head.sed \
|
---|
54 | inclib.good inclib.inp inclib.sed \
|
---|
55 | insens.good insens.inp insens.sed \
|
---|
56 | khadafy.good khadafy.inp khadafy.sed \
|
---|
57 | linecnt.good linecnt.inp linecnt.sed \
|
---|
58 | space.good space.inp space.sed \
|
---|
59 | mac-mf.good mac-mf.inp mac-mf.sed \
|
---|
60 | madding.good madding.inp madding.sed \
|
---|
61 | manis.good manis.inp manis.sed \
|
---|
62 | middle.good middle.sed middle.inp \
|
---|
63 | modulo.good modulo.sed modulo.inp \
|
---|
64 | newjis.good newjis.inp newjis.sed \
|
---|
65 | noeol.good noeol.inp noeol.sed \
|
---|
66 | noeolw.good noeolw.1good noeolw.2good noeolw.sed \
|
---|
67 | numsub.good numsub.inp numsub.sed \
|
---|
68 | numsub2.good numsub2.inp numsub2.sed \
|
---|
69 | numsub3.good numsub3.inp numsub3.sed \
|
---|
70 | numsub4.good numsub4.inp numsub4.sed \
|
---|
71 | numsub5.good numsub5.inp numsub5.sed \
|
---|
72 | readin.good readin.in2 readin.inp readin.sed \
|
---|
73 | recall.good recall.inp recall.sed \
|
---|
74 | recall2.good recall2.inp recall2.sed \
|
---|
75 | sep.good sep.inp sep.sed \
|
---|
76 | subwrite.inp subwrite.sed subwrt1.good subwrt2.good \
|
---|
77 | uniq.good uniq.inp uniq.sed \
|
---|
78 | version.gin \
|
---|
79 | writeout.inp writeout.sed wrtout1.good wrtout2.good \
|
---|
80 | xabcx.good xabcx.inp xabcx.sed \
|
---|
81 | xbxcx.good xbxcx.inp xbxcx.sed \
|
---|
82 | xbxcx3.good xbxcx3.inp xbxcx3.sed \
|
---|
83 | xemacs.good xemacs.inp xemacs.sed \
|
---|
84 | y-bracket.good y-bracket.sed y-bracket.inp \
|
---|
85 | y-newline.good y-newline.sed y-newline.inp
|
---|
86 |
|
---|
87 | clean-local:
|
---|
88 | test x$(srcdir) = x. || rm -f readin.in2 eval.in2
|
---|
89 |
|
---|
90 | # automake makes `check' depend on $(TESTS). Declare
|
---|
91 | # dummy targets for $(TESTS) so that make does not complain.
|
---|
92 |
|
---|
93 | .PHONY: $(SEDTESTS)
|
---|
94 | $(SEDTESTS):
|
---|