blob: 71cf4ada6bc22625c2a12e289a52f58503918774 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
## Process this file with automake to create Makefile.in
# Copyright 2010-2016 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
TESTS = \
gzip-env \
helin-segv \
help-version \
hufts \
keep \
list \
memcpy-abuse \
mixed \
null-suffix-clobber \
stdin \
trailing-nul \
unpack-invalid \
z-suffix \
zdiff \
zgrep-f \
zgrep-context \
zgrep-signal \
znew-k
EXTRA_DIST = \
$(TESTS) \
init.cfg \
init.sh \
hufts-segv.gz
built_programs = \
gzip \
gunzip \
gzexe \
zcat \
zcmp \
zdiff \
zegrep \
zfgrep \
zforce \
zgrep \
zless \
zmore \
znew
TESTS_ENVIRONMENT = \
tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.; \
TMPDIR=$$tmp__; export TMPDIR; \
\
if test -n "$$BASH_VERSION" || (eval "export v=x") 2>/dev/null; then \
export_with_values () { export "$$@"; }; \
else \
export_with_values () \
{ \
sed_extract_var='s/=.*//'; \
sed_quote_value="s/'/'\\\\''/g;s/=\\(.*\\)/='\\1'/";\
for arg in "$$@"; do \
var=`echo "$$arg" | sed "$$sed_extract_var"`; \
arg=`echo "$$arg" | sed "$$sed_quote_value"`; \
eval "$$arg"; \
export "$$var"; \
done; \
}; \
fi; \
\
export_with_values \
LC_ALL=C \
VERSION=$(VERSION) \
abs_top_builddir='$(abs_top_builddir)' \
abs_top_srcdir='$(abs_top_srcdir)' \
abs_srcdir='$(abs_srcdir)' \
built_programs='$(built_programs)' \
srcdir='$(srcdir)' \
top_srcdir='$(top_srcdir)' \
CC='$(CC)' \
GREP='$(GREP)' \
GZIP_TEST_NAME=`echo $$tst|sed 's,^\./,,;s,/,-,g'` \
MAKE=$(MAKE) \
PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)' \
PACKAGE_VERSION=$(PACKAGE_VERSION) \
PERL='$(PERL)' \
SHELL='$(SHELL)' \
PATH='$(abs_top_builddir)$(PATH_SEPARATOR)'"$$PATH" \
; 9>&2
VERBOSE = yes
|