]> Dogcows Code - chaz/tar/blob - tests/Makefile.am
Fix interaction of various --exclude-tag options with --listed-incremental.
[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 testsuite.at\
48 append.at\
49 append01.at\
50 append02.at\
51 append03.at\
52 backup01.at\
53 chtype.at\
54 comprec.at\
55 delete01.at\
56 delete02.at\
57 delete03.at\
58 delete04.at\
59 delete05.at\
60 exclude.at\
61 exclude01.at\
62 exclude02.at\
63 exclude03.at\
64 exclude04.at\
65 exclude05.at\
66 exclude06.at\
67 exclude07.at\
68 exclude08.at\
69 exclude09.at\
70 exclude10.at\
71 exclude11.at\
72 exclude12.at\
73 exclude13.at\
74 exclude14.at\
75 exclude15.at\
76 exclude16.at\
77 extrac01.at\
78 extrac02.at\
79 extrac03.at\
80 extrac04.at\
81 extrac05.at\
82 extrac06.at\
83 extrac07.at\
84 extrac08.at\
85 extrac09.at\
86 extrac10.at\
87 extrac11.at\
88 extrac12.at\
89 extrac13.at\
90 extrac14.at\
91 extrac15.at\
92 extrac16.at\
93 extrac17.at\
94 extrac18.at\
95 extrac19.at\
96 filerem01.at\
97 filerem02.at\
98 gzip.at\
99 grow.at\
100 incremental.at\
101 incr01.at\
102 incr02.at\
103 incr03.at\
104 incr04.at\
105 incr05.at\
106 incr06.at\
107 indexfile.at\
108 ignfail.at\
109 label01.at\
110 label02.at\
111 label03.at\
112 label04.at\
113 label05.at\
114 link01.at\
115 link02.at\
116 link03.at\
117 link04.at\
118 listed01.at\
119 listed02.at\
120 listed03.at\
121 listed04.at\
122 listed05.at\
123 long01.at\
124 longv7.at\
125 lustar01.at\
126 lustar02.at\
127 lustar03.at\
128 multiv01.at\
129 multiv02.at\
130 multiv03.at\
131 multiv04.at\
132 multiv05.at\
133 multiv06.at\
134 multiv07.at\
135 multiv08.at\
136 old.at\
137 options.at\
138 options02.at\
139 owner.at\
140 pipe.at\
141 recurse.at\
142 rename01.at\
143 rename02.at\
144 rename03.at\
145 rename04.at\
146 rename05.at\
147 remfiles01.at\
148 remfiles02.at\
149 remfiles03.at\
150 same-order01.at\
151 same-order02.at\
152 shortfile.at\
153 shortupd.at\
154 shortrec.at\
155 sigpipe.at\
156 sparse01.at\
157 sparse02.at\
158 sparse03.at\
159 sparse04.at\
160 sparsemv.at\
161 sparsemvp.at\
162 spmvp00.at\
163 spmvp01.at\
164 spmvp10.at\
165 time01.at\
166 truncate.at\
167 update.at\
168 update01.at\
169 update02.at\
170 volsize.at\
171 volume.at\
172 verbose.at\
173 verify.at\
174 version.at\
175 xform-h.at\
176 xform01.at\
177 star/gtarfail.at\
178 star/gtarfail2.at\
179 star/multi-fail.at\
180 star/ustar-big-2g.at\
181 star/ustar-big-8g.at\
182 star/pax-big-10g.at\
183 xattr01.at\
184 xattr02.at\
185 xattr03.at\
186 xattr04.at\
187 xattr05.at\
188 acls01.at\
189 acls02.at\
190 selnx01.at\
191 selacl01.at\
192 capabs_raw01.at
193
194 TESTSUITE = $(srcdir)/testsuite
195
196 AUTOTEST = $(AUTOM4TE) --language=autotest
197 $(TESTSUITE): package.m4 $(TESTSUITE_AT)
198 $(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp
199 mv $@.tmp $@
200
201 atconfig: $(top_builddir)/config.status
202 cd $(top_builddir) && ./config.status tests/$@
203
204 clean-local:
205 test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
206
207 check-local: atconfig atlocal $(TESTSUITE)
208 $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS)
209
210 check-full:
211 FULL_TEST=1 $(MAKE) check
212
213 #check_SCRIPTS = tar
214
215 # Run the test suite on the *installed* tree.
216 installcheck-local:
217 $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS) AUTOTEST_PATH=$(exec_prefix)/bin
218
219
220 ## ------------ ##
221 ## genfile ##
222 ## ------------ ##
223
224 check_PROGRAMS = genfile
225
226 genfile_SOURCES = genfile.c argcv.c argcv.h
227
228 localedir = $(datadir)/locale
229 AM_CPPFLAGS = \
230 -I$(top_srcdir)/gnu\
231 -I../gnu\
232 -I$(top_srcdir)/gnu\
233 -I$(top_srcdir)/lib\
234 -DLOCALEDIR=\"$(localedir)\"
235
236 LDADD = ../gnu/libgnu.a $(LIBINTL) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS)
This page took 0.039989 seconds and 5 git commands to generate.