]> Dogcows Code - chaz/tar/blob - tests/Makefile.am
Add incr04.at
[chaz/tar] / tests / Makefile.am
1 # Makefile for GNU tar regression tests.
2
3 # Copyright (C) 1996, 1997, 1999, 2000, 2001, 2003, 2004, 2005,
4 # 2006 Free Software Foundation, Inc.
5
6 # François Pinard <pinard@iro.umontreal.ca>, 1988.
7 # Sergey Poznyakoff <gray@mirddin.farlep.net>, 2004.
8
9 ## This program is free software; you can redistribute it and/or modify
10 ## it under the terms of the GNU General Public License as published by
11 ## the Free Software Foundation; either version 2, or (at your option)
12 ## any later version.
13
14 ## This program is distributed in the hope that it will be useful,
15 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ## GNU General Public License for more details.
18
19 ## You should have received a copy of the GNU General Public License
20 ## along with this program; if not, write to the Free Software
21 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 ## 02110-1301, USA.
23
24 EXTRA_DIST = $(TESTSUITE_AT) testsuite package.m4 star/README star/quicktest.sh
25 DISTCLEANFILES = atconfig $(check_SCRIPTS)
26 MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
27
28 ## ------------ ##
29 ## package.m4. ##
30 ## ------------ ##
31
32 $(srcdir)/package.m4: $(top_srcdir)/configure.ac
33 { \
34 echo '# Signature of the current package.'; \
35 echo 'm4_define([AT_PACKAGE_NAME], [@PACKAGE_NAME@])'; \
36 echo 'm4_define([AT_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])'; \
37 echo 'm4_define([AT_PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \
38 echo 'm4_define([AT_PACKAGE_STRING], [@PACKAGE_STRING@])'; \
39 echo 'm4_define([AT_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
40 } >$(srcdir)/package.m4
41
42 #
43
44 ## ------------ ##
45 ## Test suite. ##
46 ## ------------ ##
47
48 TESTSUITE_AT = \
49 testsuite.at\
50 append.at\
51 append01.at\
52 chtype.at\
53 comprec.at\
54 delete01.at\
55 delete02.at\
56 delete03.at\
57 delete04.at\
58 delete05.at\
59 extrac01.at\
60 extrac02.at\
61 extrac03.at\
62 extrac04.at\
63 extrac05.at\
64 extrac06.at\
65 gzip.at\
66 incremental.at\
67 incr01.at\
68 incr02.at\
69 incr03.at\
70 incr04.at\
71 ignfail.at\
72 link01.at\
73 listed01.at\
74 listed02.at\
75 long01.at\
76 longv7.at\
77 lustar01.at\
78 lustar02.at\
79 lustar03.at\
80 multiv01.at\
81 multiv02.at\
82 multiv03.at\
83 multiv04.at\
84 old.at\
85 options.at\
86 options02.at\
87 pipe.at\
88 recurse.at\
89 rename01.at\
90 rename02.at\
91 rename03.at\
92 same-order01.at\
93 same-order02.at\
94 shortrec.at\
95 sparse01.at\
96 sparse02.at\
97 sparse03.at\
98 sparsemv.at\
99 sparsemvp.at\
100 truncate.at\
101 update.at\
102 volsize.at\
103 volume.at\
104 version.at\
105 star/gtarfail.at\
106 star/gtarfail2.at\
107 star/multi-fail.at\
108 star/ustar-big-2g.at\
109 star/ustar-big-8g.at\
110 star/pax-big-10g.at
111
112 TESTSUITE = $(srcdir)/testsuite
113
114 AUTOTEST = $(AUTOM4TE) --language=autotest
115 $(TESTSUITE): package.m4 $(TESTSUITE_AT)
116 $(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp
117 mv $@.tmp $@
118
119 atconfig: $(top_builddir)/config.status
120 cd $(top_builddir) && ./config.status tests/$@
121
122 clean-local:
123 test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
124
125 check-local: atconfig atlocal $(TESTSUITE)
126 $(SHELL) $(TESTSUITE)
127
128 check-full:
129 FULL_TEST=1 $(MAKE) check
130
131 #check_SCRIPTS = tar
132
133 # Run the test suite on the *installed* tree.
134 installcheck-local:
135 $(SHELL) $(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin
136
137
138 ## ------------ ##
139 ## genfile ##
140 ## ------------ ##
141
142 check_PROGRAMS = genfile
143
144 genfile_SOURCES = genfile.c argcv.c argcv.h
145
146 localedir = $(datadir)/locale
147 INCLUDES = -I$(top_srcdir)/lib -I../lib -I$(top_srcdir)/src
148 AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"
149 LDADD = ../lib/libtar.a $(LIBINTL) $(LIB_CLOCK_GETTIME)
This page took 0.037286 seconds and 5 git commands to generate.