]> Dogcows Code - chaz/tar/blob - tests/Makefile.am
Fix interacton of --verbose and --append.
[chaz/tar] / tests / Makefile.am
1 # Makefile for GNU tar regression tests.
2
3 # Copyright 1996-1997, 1999-2001, 2003-2007, 2009, 2012-2013 Free Software
4
5 # This file is part of GNU tar.
6
7 # GNU tar is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
11
12 # GNU tar is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20 EXTRA_DIST = $(TESTSUITE_AT) testsuite package.m4 star/README star/quicktest.sh
21 DISTCLEANFILES = atconfig $(check_SCRIPTS)
22 MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
23
24 ## ------------ ##
25 ## package.m4. ##
26 ## ------------ ##
27
28 $(srcdir)/package.m4: $(top_srcdir)/configure.ac
29 { \
30 echo '# Signature of the current package.'; \
31 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])'; \
32 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])'; \
33 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \
34 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])'; \
35 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
36 } >$(srcdir)/package.m4
37
38 #
39
40 ## ------------ ##
41 ## Test suite. ##
42 ## ------------ ##
43
44 TESTSUITE_AT = \
45 T-empty.at\
46 T-null.at\
47 T-zfile.at\
48 T-nonl.at\
49 testsuite.at\
50 append.at\
51 append01.at\
52 append02.at\
53 append03.at\
54 append04.at\
55 backup01.at\
56 chtype.at\
57 comprec.at\
58 delete01.at\
59 delete02.at\
60 delete03.at\
61 delete04.at\
62 delete05.at\
63 exclude.at\
64 exclude01.at\
65 exclude02.at\
66 exclude03.at\
67 exclude04.at\
68 exclude05.at\
69 exclude06.at\
70 exclude07.at\
71 exclude08.at\
72 exclude09.at\
73 exclude10.at\
74 exclude11.at\
75 exclude12.at\
76 exclude13.at\
77 exclude14.at\
78 exclude15.at\
79 exclude16.at\
80 extrac01.at\
81 extrac02.at\
82 extrac03.at\
83 extrac04.at\
84 extrac05.at\
85 extrac06.at\
86 extrac07.at\
87 extrac08.at\
88 extrac09.at\
89 extrac10.at\
90 extrac11.at\
91 extrac12.at\
92 extrac13.at\
93 extrac14.at\
94 extrac15.at\
95 extrac16.at\
96 extrac17.at\
97 extrac18.at\
98 extrac19.at\
99 filerem01.at\
100 filerem02.at\
101 gzip.at\
102 grow.at\
103 incremental.at\
104 incr01.at\
105 incr02.at\
106 incr03.at\
107 incr04.at\
108 incr05.at\
109 incr06.at\
110 indexfile.at\
111 ignfail.at\
112 label01.at\
113 label02.at\
114 label03.at\
115 label04.at\
116 label05.at\
117 link01.at\
118 link02.at\
119 link03.at\
120 link04.at\
121 listed01.at\
122 listed02.at\
123 listed03.at\
124 listed04.at\
125 listed05.at\
126 long01.at\
127 longv7.at\
128 lustar01.at\
129 lustar02.at\
130 lustar03.at\
131 multiv01.at\
132 multiv02.at\
133 multiv03.at\
134 multiv04.at\
135 multiv05.at\
136 multiv06.at\
137 multiv07.at\
138 multiv08.at\
139 old.at\
140 opcomp01.at\
141 opcomp02.at\
142 opcomp03.at\
143 opcomp04.at\
144 opcomp05.at\
145 opcomp06.at\
146 options.at\
147 options02.at\
148 owner.at\
149 pipe.at\
150 recurse.at\
151 rename01.at\
152 rename02.at\
153 rename03.at\
154 rename04.at\
155 rename05.at\
156 remfiles01.at\
157 remfiles02.at\
158 remfiles03.at\
159 same-order01.at\
160 same-order02.at\
161 shortfile.at\
162 shortupd.at\
163 shortrec.at\
164 sigpipe.at\
165 sparse01.at\
166 sparse02.at\
167 sparse03.at\
168 sparse04.at\
169 sparsemv.at\
170 sparsemvp.at\
171 spmvp00.at\
172 spmvp01.at\
173 spmvp10.at\
174 time01.at\
175 truncate.at\
176 update.at\
177 update01.at\
178 update02.at\
179 volsize.at\
180 volume.at\
181 verbose.at\
182 verify.at\
183 version.at\
184 xform-h.at\
185 xform01.at\
186 star/gtarfail.at\
187 star/gtarfail2.at\
188 star/multi-fail.at\
189 star/ustar-big-2g.at\
190 star/ustar-big-8g.at\
191 star/pax-big-10g.at\
192 xattr01.at\
193 xattr02.at\
194 xattr03.at\
195 xattr04.at\
196 xattr05.at\
197 acls01.at\
198 acls02.at\
199 selnx01.at\
200 selacl01.at\
201 capabs_raw01.at
202
203 TESTSUITE = $(srcdir)/testsuite
204
205 AUTOTEST = $(AUTOM4TE) --language=autotest
206 $(TESTSUITE): package.m4 $(TESTSUITE_AT)
207 $(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp
208 mv $@.tmp $@
209
210 atconfig: $(top_builddir)/config.status
211 cd $(top_builddir) && ./config.status tests/$@
212
213 clean-local:
214 test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
215
216 check-local: atconfig atlocal $(TESTSUITE)
217 $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS)
218
219 check-full:
220 FULL_TEST=1 $(MAKE) check
221
222 #check_SCRIPTS = tar
223
224 # Run the test suite on the *installed* tree.
225 installcheck-local:
226 $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS) AUTOTEST_PATH=$(exec_prefix)/bin
227
228
229 ## ------------ ##
230 ## genfile ##
231 ## ------------ ##
232
233 check_PROGRAMS = genfile
234
235 genfile_SOURCES = genfile.c argcv.c argcv.h
236
237 localedir = $(datadir)/locale
238 AM_CPPFLAGS = \
239 -I$(top_srcdir)/gnu\
240 -I../gnu\
241 -I$(top_srcdir)/gnu\
242 -I$(top_srcdir)/lib\
243 -DLOCALEDIR=\"$(localedir)\"
244
245 LDADD = ../gnu/libgnu.a $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS)
This page took 0.040645 seconds and 5 git commands to generate.