• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 CLEANFILES = tmp* core *.core $(EXTRA_PROGRAMS) *.*out *.log eval.in2
2 
3 TESTS = $(check_PROGRAMS) $(SEDTESTS)
4 SEDTESTS =
5 
6 LDADD = ../lib/libsed.a @INTLLIBS@
7 noinst_HEADERS = testcases.h ptestcases.h
8 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/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 		 bug-regex27 bug-regex28 \
15                  tst-pcre tst-boost runtests runptests tst-rxspencer tst-regex2
16 
17 SEDTESTS += space
18 endif
19 
20 SEDTESTS += \
21         appquit enable sep inclib 8bit newjis xabcx dollar noeol noeolw \
22 	modulo numsub numsub2 numsub3 numsub4 numsub5 0range bkslashes \
23 	head madding mac-mf empty xbxcx xbxcx3 recall recall2 xemacs \
24 	fasts uniq manis khadafy linecnt eval distrib 8to7 y-bracket \
25 	y-newline allsub cv-vars classes middle bsd stdin flipcase \
26 	insens subwrite writeout readin insert utf8-1 utf8-2 utf8-3 utf8-4 \
27 	badenc inplace-hold brackets \
28 	help version file quiet \
29 	factor binary3 binary2 binary dc
30 
31 TESTS_ENVIRONMENT = MAKE="$(MAKE)" VERSION="$(VERSION)" \
32 	@LOCALCHARSET_TESTS_ENVIRONMENT@ $(srcdir)/runtest
33 
34 
35 EXTRA_DIST = \
36 	PCRE.tests BOOST.tests SPENCER.tests \
37 	runtest Makefile.tests \
38 	0range.good 0range.inp 0range.sed \
39 	8bit.good 8bit.inp 8bit.sed \
40 	8to7.good 8to7.inp 8to7.sed \
41 	allsub.good allsub.inp allsub.sed \
42 	appquit.good appquit.inp appquit.sed \
43 	binary.good binary.inp binary.sed binary2.sed binary3.sed \
44 	bkslashes.good bkslashes.inp bkslashes.sed \
45 	brackets.good brackets.inp brackets.sed \
46 	bsd.good bsd.sh \
47 	cv-vars.good cv-vars.inp cv-vars.sed \
48 	classes.good classes.inp classes.sed \
49 	dc.good dc.inp dc.sed \
50 	distrib.good distrib.inp distrib.sed distrib.sh \
51 	dollar.good dollar.inp dollar.sed \
52 	empty.good empty.inp empty.sed \
53 	enable.good enable.inp enable.sed \
54 	eval.good eval.inp eval.sed \
55 	factor.good factor.inp factor.sed \
56 	fasts.good fasts.inp fasts.sed \
57 	flipcase.good flipcase.inp flipcase.sed \
58 	head.good head.inp head.sed \
59 	inclib.good inclib.inp inclib.sed \
60 	insens.good insens.inp insens.sed \
61 	insert.good insert.inp insert.sed \
62 	khadafy.good khadafy.inp khadafy.sed \
63 	linecnt.good linecnt.inp linecnt.sed \
64 	space.good space.inp space.sed \
65 	mac-mf.good mac-mf.inp mac-mf.sed \
66 	madding.good madding.inp madding.sed \
67 	manis.good manis.inp manis.sed \
68 	middle.good middle.sed middle.inp \
69 	modulo.good modulo.sed modulo.inp \
70 	newjis.good newjis.inp  newjis.sed \
71 	noeol.good noeol.inp noeol.sed \
72 	noeolw.good noeolw.1good noeolw.2good noeolw.sed \
73 	numsub.good numsub.inp numsub.sed \
74 	numsub2.good numsub2.inp numsub2.sed \
75 	numsub3.good numsub3.inp numsub3.sed \
76 	numsub4.good numsub4.inp numsub4.sed \
77 	numsub5.good numsub5.inp numsub5.sed \
78 	readin.good readin.inp readin.sed \
79 	recall.good recall.inp recall.sed \
80 	recall2.good recall2.inp recall2.sed \
81 	sep.good sep.inp sep.sed \
82 	subwrite.inp subwrite.sed  subwrt1.good subwrt2.good \
83 	uniq.good uniq.inp uniq.sed \
84 	utf8-1.good utf8-1.inp utf8-1.sed \
85 	utf8-2.good utf8-2.inp utf8-2.sed \
86 	utf8-3.good utf8-3.inp utf8-3.sed \
87 	utf8-4.good utf8-4.inp utf8-4.sed \
88 	badenc.good badenc.inp badenc.sed \
89 	version.gin \
90 	writeout.inp writeout.sed wrtout1.good wrtout2.good \
91 	xabcx.good xabcx.inp xabcx.sed \
92 	xbxcx.good xbxcx.inp xbxcx.sed \
93 	xbxcx3.good xbxcx3.inp xbxcx3.sed \
94 	xemacs.good xemacs.inp xemacs.sed \
95 	y-bracket.good y-bracket.sed y-bracket.inp \
96 	y-newline.good y-newline.sed y-newline.inp
97 
98 # automake makes `check' depend on $(TESTS).  Declare
99 # dummy targets for $(TESTS) so that make does not complain.
100 
101 .PHONY: $(SEDTESTS)
102 $(SEDTESTS):
103