34
50
build_triplet = @build@
35
51
host_triplet = @host@
36
52
check_PROGRAMS = print-align$(EXEEXT) print-max$(EXEEXT) \
53
dup-clobber$(EXEEXT) duplicate$(EXEEXT) fs-resize$(EXEEXT)
39
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
55
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
56
$(top_srcdir)/build-aux/depcomp \
57
$(top_srcdir)/build-aux/test-driver
40
58
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41
59
am__aclocal_m4_deps = $(top_srcdir)/m4/00gnulib.m4 \
42
$(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/argmatch.m4 \
43
$(top_srcdir)/m4/asm-underscore.m4 $(top_srcdir)/m4/assert.m4 \
60
$(top_srcdir)/m4/alloca.m4 $(top_srcdir)/m4/assert.m4 \
44
61
$(top_srcdir)/m4/btowc.m4 $(top_srcdir)/m4/calloc.m4 \
45
62
$(top_srcdir)/m4/canonicalize.m4 \
46
63
$(top_srcdir)/m4/close-stream.m4 $(top_srcdir)/m4/close.m4 \
47
64
$(top_srcdir)/m4/closeout.m4 $(top_srcdir)/m4/codeset.m4 \
48
$(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/dirname.m4 \
49
$(top_srcdir)/m4/dos.m4 $(top_srcdir)/m4/double-slash-root.m4 \
50
$(top_srcdir)/m4/dup2.m4 $(top_srcdir)/m4/eealloc.m4 \
51
$(top_srcdir)/m4/environ.m4 $(top_srcdir)/m4/errno_h.m4 \
52
$(top_srcdir)/m4/error.m4 $(top_srcdir)/m4/extensions.m4 \
53
$(top_srcdir)/m4/fclose.m4 $(top_srcdir)/m4/fcntl-o.m4 \
54
$(top_srcdir)/m4/fcntl_h.m4 $(top_srcdir)/m4/fpending.m4 \
55
$(top_srcdir)/m4/fsync.m4 $(top_srcdir)/m4/getopt.m4 \
56
$(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gettimeofday.m4 \
57
$(top_srcdir)/m4/glibc21.m4 $(top_srcdir)/m4/gnulib-common.m4 \
65
$(top_srcdir)/m4/config-h.m4 $(top_srcdir)/m4/configmake.m4 \
66
$(top_srcdir)/m4/dirname.m4 \
67
$(top_srcdir)/m4/double-slash-root.m4 $(top_srcdir)/m4/dup2.m4 \
68
$(top_srcdir)/m4/eealloc.m4 $(top_srcdir)/m4/environ.m4 \
69
$(top_srcdir)/m4/errno_h.m4 $(top_srcdir)/m4/error.m4 \
70
$(top_srcdir)/m4/extensions.m4 $(top_srcdir)/m4/fchdir.m4 \
71
$(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/fcntl_h.m4 \
72
$(top_srcdir)/m4/fdopen.m4 $(top_srcdir)/m4/fpending.m4 \
73
$(top_srcdir)/m4/fstat.m4 $(top_srcdir)/m4/fsync.m4 \
74
$(top_srcdir)/m4/getcwd.m4 $(top_srcdir)/m4/getopt.m4 \
75
$(top_srcdir)/m4/getpagesize.m4 $(top_srcdir)/m4/gettext.m4 \
76
$(top_srcdir)/m4/gettimeofday.m4 $(top_srcdir)/m4/glibc21.m4 \
77
$(top_srcdir)/m4/gnulib-common.m4 \
58
78
$(top_srcdir)/m4/gnulib-comp.m4 $(top_srcdir)/m4/iconv.m4 \
59
79
$(top_srcdir)/m4/include_next.m4 $(top_srcdir)/m4/inline.m4 \
60
80
$(top_srcdir)/m4/intlmacosx.m4 \
61
81
$(top_srcdir)/m4/inttypes-pri.m4 $(top_srcdir)/m4/inttypes.m4 \
62
$(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/lib-ignore.m4 \
82
$(top_srcdir)/m4/langinfo_h.m4 $(top_srcdir)/m4/largefile.m4 \
83
$(top_srcdir)/m4/lcmessage.m4 $(top_srcdir)/m4/lib-ignore.m4 \
63
84
$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
64
85
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
65
86
$(top_srcdir)/m4/localcharset.m4 $(top_srcdir)/m4/locale-fr.m4 \
66
87
$(top_srcdir)/m4/locale-ja.m4 $(top_srcdir)/m4/locale-tr.m4 \
67
$(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/long-options.m4 \
88
$(top_srcdir)/m4/locale-zh.m4 $(top_srcdir)/m4/locale_h.m4 \
89
$(top_srcdir)/m4/localename.m4 $(top_srcdir)/m4/lock.m4 \
68
90
$(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/lseek.m4 \
69
91
$(top_srcdir)/m4/lstat.m4 $(top_srcdir)/m4/ltoptions.m4 \
70
92
$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
71
93
$(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/malloc.m4 \
72
94
$(top_srcdir)/m4/malloca.m4 $(top_srcdir)/m4/manywarnings.m4 \
73
95
$(top_srcdir)/m4/mbrtowc.m4 $(top_srcdir)/m4/mbsinit.m4 \
74
$(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/memchr.m4 \
96
$(top_srcdir)/m4/mbstate_t.m4 $(top_srcdir)/m4/mbtowc.m4 \
75
97
$(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
76
$(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/multiarch.m4 \
98
$(top_srcdir)/m4/mode_t.m4 $(top_srcdir)/m4/msvc-inval.m4 \
99
$(top_srcdir)/m4/msvc-nothrow.m4 $(top_srcdir)/m4/multiarch.m4 \
77
100
$(top_srcdir)/m4/nl_langinfo.m4 $(top_srcdir)/m4/nls.m4 \
78
$(top_srcdir)/m4/o-direct.m4 $(top_srcdir)/m4/open.m4 \
79
$(top_srcdir)/m4/pathmax.m4 $(top_srcdir)/m4/po.m4 \
80
$(top_srcdir)/m4/priv-set.m4 $(top_srcdir)/m4/progtest.m4 \
81
$(top_srcdir)/m4/putenv.m4 $(top_srcdir)/m4/quote.m4 \
82
$(top_srcdir)/m4/quotearg.m4 $(top_srcdir)/m4/readlink.m4 \
101
$(top_srcdir)/m4/nocrash.m4 $(top_srcdir)/m4/o-direct.m4 \
102
$(top_srcdir)/m4/open.m4 $(top_srcdir)/m4/pathmax.m4 \
103
$(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/priv-set.m4 \
104
$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/putenv.m4 \
105
$(top_srcdir)/m4/quote.m4 $(top_srcdir)/m4/quotearg.m4 \
106
$(top_srcdir)/m4/read.m4 $(top_srcdir)/m4/readlink.m4 \
83
107
$(top_srcdir)/m4/realloc.m4 $(top_srcdir)/m4/regex.m4 \
84
108
$(top_srcdir)/m4/rpmatch.m4 $(top_srcdir)/m4/safe-read.m4 \
85
$(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/sleep.m4 \
86
$(top_srcdir)/m4/ssize_t.m4 $(top_srcdir)/m4/stat.m4 \
87
$(top_srcdir)/m4/stdarg.m4 $(top_srcdir)/m4/stdbool.m4 \
88
$(top_srcdir)/m4/stddef_h.m4 $(top_srcdir)/m4/stdint.m4 \
89
$(top_srcdir)/m4/stdio_h.m4 $(top_srcdir)/m4/stdlib_h.m4 \
109
$(top_srcdir)/m4/setenv.m4 $(top_srcdir)/m4/setlocale.m4 \
110
$(top_srcdir)/m4/sleep.m4 $(top_srcdir)/m4/ssize_t.m4 \
111
$(top_srcdir)/m4/stat.m4 $(top_srcdir)/m4/stdarg.m4 \
112
$(top_srcdir)/m4/stdbool.m4 $(top_srcdir)/m4/stddef_h.m4 \
113
$(top_srcdir)/m4/stdint.m4 $(top_srcdir)/m4/stdio_h.m4 \
114
$(top_srcdir)/m4/stdlib_h.m4 $(top_srcdir)/m4/strcase.m4 \
90
115
$(top_srcdir)/m4/strdup.m4 $(top_srcdir)/m4/strerror.m4 \
91
$(top_srcdir)/m4/string_h.m4 $(top_srcdir)/m4/strndup.m4 \
92
$(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/symlink.m4 \
116
$(top_srcdir)/m4/strerror_r.m4 $(top_srcdir)/m4/string_h.m4 \
117
$(top_srcdir)/m4/strings_h.m4 $(top_srcdir)/m4/strndup.m4 \
118
$(top_srcdir)/m4/strnlen.m4 $(top_srcdir)/m4/strtoll.m4 \
119
$(top_srcdir)/m4/strtoull.m4 $(top_srcdir)/m4/symlink.m4 \
120
$(top_srcdir)/m4/sys_socket_h.m4 \
93
121
$(top_srcdir)/m4/sys_stat_h.m4 $(top_srcdir)/m4/sys_time_h.m4 \
94
$(top_srcdir)/m4/tempname.m4 $(top_srcdir)/m4/time_h.m4 \
95
$(top_srcdir)/m4/unistd_h.m4 $(top_srcdir)/m4/unlink.m4 \
96
$(top_srcdir)/m4/unlinkdir.m4 $(top_srcdir)/m4/usleep.m4 \
97
$(top_srcdir)/m4/version-etc.m4 \
122
$(top_srcdir)/m4/sys_types_h.m4 $(top_srcdir)/m4/tempname.m4 \
123
$(top_srcdir)/m4/thread.m4 $(top_srcdir)/m4/threadlib.m4 \
124
$(top_srcdir)/m4/time_h.m4 $(top_srcdir)/m4/unistd_h.m4 \
125
$(top_srcdir)/m4/unlink.m4 $(top_srcdir)/m4/unlinkdir.m4 \
126
$(top_srcdir)/m4/usleep.m4 $(top_srcdir)/m4/version-etc.m4 \
98
127
$(top_srcdir)/m4/warn-on-use.m4 $(top_srcdir)/m4/warnings.m4 \
99
128
$(top_srcdir)/m4/wchar_h.m4 $(top_srcdir)/m4/wchar_t.m4 \
100
129
$(top_srcdir)/m4/wcrtomb.m4 $(top_srcdir)/m4/wctob.m4 \
101
$(top_srcdir)/m4/wctype_h.m4 $(top_srcdir)/m4/wint_t.m4 \
102
$(top_srcdir)/m4/xalloc.m4 $(top_srcdir)/m4/xstrndup.m4 \
103
$(top_srcdir)/m4/xstrtol.m4 $(top_srcdir)/configure.ac
130
$(top_srcdir)/m4/wctomb.m4 $(top_srcdir)/m4/wctype_h.m4 \
131
$(top_srcdir)/m4/wint_t.m4 $(top_srcdir)/m4/xalloc.m4 \
132
$(top_srcdir)/m4/xstrndup.m4 $(top_srcdir)/m4/xstrtol.m4 \
133
$(top_srcdir)/m4/yield.m4 $(top_srcdir)/configure.ac
104
134
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
106
136
mkinstalldirs = $(install_sh) -d
188
235
am__base_list = \
189
236
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
190
237
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
238
am__uninstall_files_from_dir = { \
240
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
241
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
242
$(am__cd) "$$dir" && rm -f $$files; }; \
191
244
# Restructured Text title and section.
192
am__rst_title = sed 's/.*/ & /;h;s/./=/g;p;x;p;g;p;s/.*//'
193
am__rst_section = sed 'p;s/./=/g;p;g'
194
# Put stdin (possibly several lines separated by ". ") in a box.
195
am__text_box = $(AWK) '{ \
196
n = split($$0, lines, "\\. "); max = 0; \
197
for (i = 1; i <= n; ++i) \
198
if (max < length(lines[i])) \
199
max = length(lines[i]); \
200
for (i = 0; i < max; ++i) line = line "="; \
202
for (i = 1; i <= n; ++i) if (lines[i]) print lines[i];\
245
am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
246
am__rst_section = { sed 'p;s/./=/g;' && echo; }
205
247
# Solaris 10 'make', and several other traditional 'make' implementations,
206
# pass "-e" to $(SHELL). This contradicts POSIX. Work around the problem
248
# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
207
249
# by disabling -e (using the XSI extension "set +e") if it's set.
208
250
am__sh_e_setup = case $$- in *e*) set +e;; esac
251
# Default flags passed to test drivers.
252
am__common_driver_flags = \
253
--color-tests "$$am__color_tests" \
254
--enable-hard-errors "$$am__enable_hard_errors" \
255
--expect-failure "$$am__expect_failure"
209
256
# To be inserted before the command running the test. Creates the
210
257
# directory for the log if needed. Stores in $dir the directory
211
# containing $f, in $tst the test, in $log the log, and passes
212
# TESTS_ENVIRONMENT. Save and restore TERM around use of
213
# TESTS_ENVIRONMENT, in case that unsets it.
258
# containing $f, in $tst the test, in $log the log. Executes the
259
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
260
# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
261
# will run the test scripts (or their associated LOG_COMPILER, if
214
263
am__check_pre = \
215
264
$(am__sh_e_setup); \
216
265
$(am__vpath_adj_setup) $(am__vpath_adj) \
217
267
srcdir=$(srcdir); export srcdir; \
219
am__trap='rm -f '\''$(abs_builddir)/$@-t'\''; (exit $$st); exit $$st'; \
220
trap "st=129; $$am__trap" 1; trap "st=130; $$am__trap" 2; \
221
trap "st=141; $$am__trap" 13; trap "st=143; $$am__trap" 15; \
222
268
am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`; \
223
269
test "x$$am__odir" = x. || $(MKDIR_P) "$$am__odir" || exit $$?; \
224
270
if test -f "./$$f"; then dir=./; \
225
271
elif test -f "$$f"; then dir=; \
226
272
else dir="$(srcdir)/"; fi; \
227
tst=$$dir$$f; log='$@'; __SAVED_TERM=$$TERM; \
273
tst=$$dir$$f; log='$@'; \
274
if test -n '$(DISABLE_HARD_ERRORS)'; then \
275
am__enable_hard_errors=no; \
277
am__enable_hard_errors=yes; \
279
case " $(XFAIL_TESTS) " in \
280
*[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
281
am__expect_failure=yes;; \
283
am__expect_failure=no;; \
285
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
286
# A shell command to get the names of the tests scripts with any registered
287
# extension removed (i.e., equivalently, the names of the test logs, with
288
# the '.log' extension removed). The result is saved in the shell variable
289
# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
290
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
291
# since that might cause problem with VPATH rewrites for suffix-less tests.
292
# See also 'test-harness-vpath-rewrite.test' and 'test-trs-basic.test'.
293
am__set_TESTS_bases = \
294
bases='$(TEST_LOGS)'; \
295
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
229
297
RECHECK_LOGS = $(TEST_LOGS)
230
AM_RECURSIVE_TARGETS = check check-html recheck recheck-html
298
AM_RECURSIVE_TARGETS = check recheck
231
299
TEST_SUITE_LOG = test-suite.log
232
TEST_SUITE_HTML = $(TEST_SUITE_LOG:.log=.html)
233
TEST_EXTENSIONS = @EXEEXT@ .test
234
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
235
300
am__test_logs1 = $(TESTS:=.log)
236
301
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
237
TEST_LOGS = $(am__test_logs2:.test.log=.log)
238
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
240
TEST_LOGS_TMP = $(TEST_LOGS:.log=.log-t)
302
TEST_LOGS = $(am__test_logs2:.sh.log=.log)
303
SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
304
SH_LOG_COMPILE = $(SH_LOG_COMPILER) $(AM_SH_LOG_FLAGS) $(SH_LOG_FLAGS)
310
*) b=`echo '$@' | sed 's/\.log$$//'`; \
241
315
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
316
pkglibexecdir = @pkglibexecdir@
242
317
ACLOCAL = @ACLOCAL@
243
318
ALLOCA = @ALLOCA@
244
319
ALLOCA_H = @ALLOCA_H@
457
570
GNULIB_VDPRINTF = @GNULIB_VDPRINTF@
458
571
GNULIB_VFPRINTF = @GNULIB_VFPRINTF@
459
572
GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@
573
GNULIB_VFSCANF = @GNULIB_VFSCANF@
460
574
GNULIB_VPRINTF = @GNULIB_VPRINTF@
461
575
GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@
576
GNULIB_VSCANF = @GNULIB_VSCANF@
462
577
GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@
463
578
GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@
579
GNULIB_WCPCPY = @GNULIB_WCPCPY@
580
GNULIB_WCPNCPY = @GNULIB_WCPNCPY@
464
581
GNULIB_WCRTOMB = @GNULIB_WCRTOMB@
582
GNULIB_WCSCASECMP = @GNULIB_WCSCASECMP@
583
GNULIB_WCSCAT = @GNULIB_WCSCAT@
584
GNULIB_WCSCHR = @GNULIB_WCSCHR@
585
GNULIB_WCSCMP = @GNULIB_WCSCMP@
586
GNULIB_WCSCOLL = @GNULIB_WCSCOLL@
587
GNULIB_WCSCPY = @GNULIB_WCSCPY@
588
GNULIB_WCSCSPN = @GNULIB_WCSCSPN@
589
GNULIB_WCSDUP = @GNULIB_WCSDUP@
590
GNULIB_WCSLEN = @GNULIB_WCSLEN@
591
GNULIB_WCSNCASECMP = @GNULIB_WCSNCASECMP@
592
GNULIB_WCSNCAT = @GNULIB_WCSNCAT@
593
GNULIB_WCSNCMP = @GNULIB_WCSNCMP@
594
GNULIB_WCSNCPY = @GNULIB_WCSNCPY@
595
GNULIB_WCSNLEN = @GNULIB_WCSNLEN@
465
596
GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@
597
GNULIB_WCSPBRK = @GNULIB_WCSPBRK@
598
GNULIB_WCSRCHR = @GNULIB_WCSRCHR@
466
599
GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@
600
GNULIB_WCSSPN = @GNULIB_WCSSPN@
601
GNULIB_WCSSTR = @GNULIB_WCSSTR@
602
GNULIB_WCSTOK = @GNULIB_WCSTOK@
603
GNULIB_WCSWIDTH = @GNULIB_WCSWIDTH@
604
GNULIB_WCSXFRM = @GNULIB_WCSXFRM@
467
605
GNULIB_WCTOB = @GNULIB_WCTOB@
606
GNULIB_WCTOMB = @GNULIB_WCTOMB@
607
GNULIB_WCTRANS = @GNULIB_WCTRANS@
608
GNULIB_WCTYPE = @GNULIB_WCTYPE@
468
609
GNULIB_WCWIDTH = @GNULIB_WCWIDTH@
610
GNULIB_WMEMCHR = @GNULIB_WMEMCHR@
611
GNULIB_WMEMCMP = @GNULIB_WMEMCMP@
612
GNULIB_WMEMCPY = @GNULIB_WMEMCPY@
613
GNULIB_WMEMMOVE = @GNULIB_WMEMMOVE@
614
GNULIB_WMEMSET = @GNULIB_WMEMSET@
469
615
GNULIB_WRITE = @GNULIB_WRITE@
616
GNULIB__EXIT = @GNULIB__EXIT@
471
618
HAVE_ATOLL = @HAVE_ATOLL@
472
619
HAVE_BTOWC = @HAVE_BTOWC@
473
HAVE_CALLOC_POSIX = @HAVE_CALLOC_POSIX@
474
620
HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@
475
621
HAVE_CHOWN = @HAVE_CHOWN@
476
622
HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@
623
HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@
624
HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@
477
625
HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@
626
HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@
627
HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@
478
628
HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@
629
HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@
479
630
HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@
480
631
HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@
481
632
HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@
1174
1443
distclean-tags:
1175
1444
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1177
# To be appended to the command running the test. Handle the stdout
1178
# and stderr redirection, and catch the exit status.
1182
if test -n '$(DISABLE_HARD_ERRORS)' \
1183
&& test $$estatus -eq 99; then \
1186
TERM=$$__SAVED_TERM; export TERM; \
1187
$(am__tty_colors); \
1189
case " $(XFAIL_TESTS) " in \
1190
*[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
1193
case $$estatus:$$xfailed in \
1194
0:XFAIL) col=$$red; res=XPASS;; \
1195
0:*) col=$$grn; res=PASS ;; \
1196
77:*) col=$$blu; res=SKIP ;; \
1197
99:*) col=$$red; res=FAIL ;; \
1198
*:XFAIL) col=$$lgn; res=XFAIL;; \
1199
*:*) col=$$red; res=FAIL ;; \
1201
echo "$${col}$$res$${std}: $$f"; \
1202
echo "$$res: $$f (exit: $$estatus)" | \
1203
$(am__rst_section) >$@; \
1446
# Recover from deleted '.trs' file; this should ensure that
1447
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
1448
# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
1449
# to avoid problems with "make -n".
1452
$(MAKE) $(AM_MAKEFLAGS) $<
1207
1454
$(TEST_SUITE_LOG): $(TEST_LOGS)
1208
@$(am__sh_e_setup); \
1209
list='$(TEST_LOGS)'; \
1210
results=`for f in $$list; do \
1211
read line < $$f && echo "$$line" || echo FAIL; \
1213
all=`echo "$$results" | sed '/^$$/d' | wc -l | sed -e 's/^[ ]*//'`; \
1214
fail=`echo "$$results" | grep -c '^FAIL'`; \
1215
pass=`echo "$$results" | grep -c '^PASS'`; \
1216
skip=`echo "$$results" | grep -c '^SKIP'`; \
1217
xfail=`echo "$$results" | grep -c '^XFAIL'`; \
1218
xpass=`echo "$$results" | grep -c '^XPASS'`; \
1219
failures=`expr $$fail + $$xpass`; \
1220
all=`expr $$all - $$skip`; \
1221
if test "$$all" -eq 1; then tests=test; All=; \
1222
else tests=tests; All="All "; fi; \
1223
case fail=$$fail:xpass=$$xpass:xfail=$$xfail in \
1224
fail=0:xpass=0:xfail=0) \
1225
msg="$$All$$all $$tests passed. "; \
1227
fail=0:xpass=0:xfail=*) \
1228
msg="$$All$$all $$tests behaved as expected"; \
1229
if test "$$xfail" -eq 1; then xfailures=failure; \
1230
else xfailures=failures; fi; \
1231
msg="$$msg ($$xfail expected $$xfailures). "; \
1233
fail=*:xpass=0:xfail=*) \
1234
msg="$$fail of $$all $$tests failed. "; \
1236
fail=*:xpass=*:xfail=*) \
1237
msg="$$failures of $$all $$tests did not behave as expected"; \
1238
if test "$$xpass" -eq 1; then xpasses=pass; \
1239
else xpasses=passes; fi; \
1240
msg="$$msg ($$xpass unexpected $$xpasses). "; \
1243
echo >&2 "incorrect case"; exit 4;; \
1245
if test "$$skip" -ne 0; then \
1246
if test "$$skip" -eq 1; then \
1247
msg="$$msg($$skip test was not run). "; \
1249
msg="$$msg($$skip tests were not run). "; \
1455
@$(am__set_TESTS_bases); \
1456
am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1457
redo_bases=`for i in $$bases; do \
1458
am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1460
if test -n "$$redo_bases"; then \
1461
redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1462
redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1463
if $(am__make_dryrun); then :; else \
1464
rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1467
if test -n "$$am__remaking_logs"; then \
1468
echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1469
"recursion detected" >&2; \
1471
am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1473
if $(am__make_dryrun); then :; else \
1475
errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1476
for i in $$redo_bases; do \
1477
test -f $$i.trs && test -r $$i.trs \
1478
|| { echo "$$errmsg $$i.trs"; st=1; }; \
1479
test -f $$i.log && test -r $$i.log \
1480
|| { echo "$$errmsg $$i.log"; st=1; }; \
1482
test $$st -eq 0 || exit 1; \
1484
@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1486
results=`for b in $$bases; do echo $$b.trs; done`; \
1487
test -n "$$results" || results=/dev/null; \
1488
all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
1489
pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
1490
fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
1491
skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
1492
xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1493
xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1494
error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1495
if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1500
br='==================='; br=$$br$$br$$br$$br; \
1503
if test x"$$1" = x"--maybe-color"; then \
1504
maybe_colorize=yes; \
1505
elif test x"$$1" = x"--no-color"; then \
1506
maybe_colorize=no; \
1508
echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1511
desc=$$1 count=$$2; \
1512
if test $$maybe_colorize = yes && test $$count -gt 0; then \
1513
color_start=$$3 color_end=$$std; \
1515
color_start= color_end=; \
1517
echo "$${color_start}# $$desc $$count$${color_end}"; \
1519
create_testsuite_report () \
1521
result_count $$1 "TOTAL:" $$all "$$brg"; \
1522
result_count $$1 "PASS: " $$pass "$$grn"; \
1523
result_count $$1 "SKIP: " $$skip "$$blu"; \
1524
result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1525
result_count $$1 "FAIL: " $$fail "$$red"; \
1526
result_count $$1 "XPASS:" $$xpass "$$red"; \
1527
result_count $$1 "ERROR:" $$error "$$mgn"; \
1253
1530
echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1254
1531
$(am__rst_title); \
1532
create_testsuite_report --no-color; \
1257
1534
echo ".. contents:: :depth: 2"; \
1259
for f in $$list; do \
1263
*) echo; cat $$f;; \
1536
for i in $$bases; do \
1537
if grep "^$$ws*:copy-in-global-log:$$ws*no$$ws*$$" $$i.trs \
1538
>/dev/null; then continue; \
1540
glob_res=`sed -n -e "s/$$ws*$$//" \
1541
-e "s/^$$ws*:global-test-result:$$ws*//p" \
1543
test -n "$$glob_res" || glob_res=RUN; \
1544
echo "$$glob_res: $$i" | $(am__rst_section); \
1545
if test ! -r $$i.log; then \
1546
echo "fatal: making $@: $$i.log is unreadable" >&2; \
1549
cat $$i.log; echo; \
1266
1551
} >$(TEST_SUITE_LOG).tmp; \
1267
1552
mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1268
if test "$$failures" -ne 0; then \
1269
msg="$${msg}See $(subdir)/$(TEST_SUITE_LOG). "; \
1553
if $$success; then \
1557
test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1559
echo "$${col}$$br$${std}"; \
1560
echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
1561
echo "$${col}$$br$${std}"; \
1562
create_testsuite_report --maybe-color; \
1563
echo "$$col$$br$$std"; \
1564
if $$success; then :; else \
1565
echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
1270
1566
if test -n "$(PACKAGE_BUGREPORT)"; then \
1271
msg="$${msg}Please report to $(PACKAGE_BUGREPORT). "; \
1567
echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1274
test x"$$VERBOSE" = x || $$exit || cat $(TEST_SUITE_LOG); \
1275
$(am__tty_colors); \
1277
echo $(ECHO_N) "$$grn$(ECHO_C)"; \
1279
echo $(ECHO_N) "$$red$(ECHO_C)"; \
1281
echo "$$msg" | $(am__text_box); \
1282
echo $(ECHO_N) "$$std$(ECHO_C)"; \
1569
echo "$$col$$br$$std"; \
1285
# Run all the tests.
1287
@list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1573
check-TESTS recheck:
1574
@if test $@ != recheck; then \
1575
list='$(RECHECK_LOGS)'; \
1576
test -z "$$list" || rm -f $$list; \
1578
@if test $@ != recheck; then \
1579
list='$(RECHECK_LOGS:.log=.trs)'; \
1580
test -z "$$list" || rm -f $$list; \
1288
1582
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1289
@list='$(TEST_LOGS)'; \
1290
list=`for f in $$list; do \
1291
test .log = $$f || echo $$f; \
1292
done | tr '\012\015' ' '`; \
1293
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$list"
1296
@list='$(RST2HTML) $$RST2HTML rst2html rst2html.py'; \
1297
for r2h in $$list; do \
1298
if ($$r2h --version) >/dev/null 2>&1; then \
1302
if test -z "$$R2H"; then \
1303
echo >&2 "cannot find rst2html, cannot create $@"; \
1309
# Be sure to run check first, and then to convert the result.
1310
# Beware of concurrent executions. Run "check" not "check-TESTS", as
1311
# check-SCRIPTS and other dependencies are rebuilt by the former only.
1312
# And expect check to fail.
1314
@if $(MAKE) $(AM_MAKEFLAGS) check; then \
1315
rv=0; else rv=$$?; \
1317
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_HTML) || exit 4; \
1319
recheck recheck-html:
1320
@target=`echo $@ | sed 's,^re,,'`; \
1321
list='$(TEST_LOGS)'; \
1322
list=`for f in $$list; do \
1323
test -f $$f || continue; \
1324
if read line < $$f; then \
1325
case $$line in FAIL*|XPASS*) echo $$f;; esac; \
1326
else echo $$f; fi; \
1327
done | tr '\012\015' ' '`; \
1328
$(MAKE) $(AM_MAKEFLAGS) $$target AM_MAKEFLAGS='$(AM_MAKEFLAGS) TEST_LOGS="'"$$list"'"'
1329
help-version.log: help-version
1330
@p='help-version'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1331
t0000-basic.sh.log: t0000-basic.sh
1332
@p='t0000-basic.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1333
t0001-tiny.sh.log: t0001-tiny.sh
1334
@p='t0001-tiny.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1335
t0010-script-no-ctrl-chars.sh.log: t0010-script-no-ctrl-chars.sh
1336
@p='t0010-script-no-ctrl-chars.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1337
t0100-print.sh.log: t0100-print.sh
1338
@p='t0100-print.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1339
t0200-gpt.sh.log: t0200-gpt.sh
1340
@p='t0200-gpt.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1341
t0201-gpt.sh.log: t0201-gpt.sh
1342
@p='t0201-gpt.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1343
t0202-gpt-pmbr.sh.log: t0202-gpt-pmbr.sh
1344
@p='t0202-gpt-pmbr.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1345
t0205-gpt-list-clobbers-pmbr.sh.log: t0205-gpt-list-clobbers-pmbr.sh
1346
@p='t0205-gpt-list-clobbers-pmbr.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1347
t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh.log: t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh
1348
@p='t0206-gpt-print-with-corrupt-primary-clobbers-pmbr.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1349
t0220-gpt-msftres.sh.log: t0220-gpt-msftres.sh
1350
@p='t0220-gpt-msftres.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1351
t0250-gpt.sh.log: t0250-gpt.sh
1352
@p='t0250-gpt.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1353
t0280-gpt-corrupt.sh.log: t0280-gpt-corrupt.sh
1354
@p='t0280-gpt-corrupt.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1355
t0300-dos-on-gpt.sh.log: t0300-dos-on-gpt.sh
1356
@p='t0300-dos-on-gpt.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1357
t0400-loop-clobber-infloop.sh.log: t0400-loop-clobber-infloop.sh
1358
@p='t0400-loop-clobber-infloop.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1359
t0500-dup-clobber.sh.log: t0500-dup-clobber.sh
1360
@p='t0500-dup-clobber.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1361
t1100-busy-label.sh.log: t1100-busy-label.sh
1362
@p='t1100-busy-label.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1363
t1700-ext-probe.sh.log: t1700-ext-probe.sh
1364
@p='t1700-ext-probe.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1365
t2100-mkswap.sh.log: t2100-mkswap.sh
1366
@p='t2100-mkswap.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1367
t2200-dos-label-recog.sh.log: t2200-dos-label-recog.sh
1368
@p='t2200-dos-label-recog.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1369
t2300-dos-label-extended-bootcode.sh.log: t2300-dos-label-extended-bootcode.sh
1370
@p='t2300-dos-label-extended-bootcode.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1371
t2310-dos-extended-2-sector-min-offset.sh.log: t2310-dos-extended-2-sector-min-offset.sh
1372
@p='t2310-dos-extended-2-sector-min-offset.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1373
t2400-dos-hfs-partition-type.sh.log: t2400-dos-hfs-partition-type.sh
1374
@p='t2400-dos-hfs-partition-type.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1375
t3000-resize-fs.sh.log: t3000-resize-fs.sh
1376
@p='t3000-resize-fs.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1377
t3200-type-change.sh.log: t3200-type-change.sh
1378
@p='t3200-type-change.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1379
t3300-palo-prep.sh.log: t3300-palo-prep.sh
1380
@p='t3300-palo-prep.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1381
t3310-flags.sh.log: t3310-flags.sh
1382
@p='t3310-flags.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1383
t4000-sun-raid-type.sh.log: t4000-sun-raid-type.sh
1384
@p='t4000-sun-raid-type.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1385
t4001-sun-vtoc.sh.log: t4001-sun-vtoc.sh
1386
@p='t4001-sun-vtoc.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1387
t4100-msdos-partition-limits.sh.log: t4100-msdos-partition-limits.sh
1388
@p='t4100-msdos-partition-limits.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1389
t4100-dvh-partition-limits.sh.log: t4100-dvh-partition-limits.sh
1390
@p='t4100-dvh-partition-limits.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1391
t4100-msdos-starting-sector.sh.log: t4100-msdos-starting-sector.sh
1392
@p='t4100-msdos-starting-sector.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1393
t4200-partprobe.sh.log: t4200-partprobe.sh
1394
@p='t4200-partprobe.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1395
t5000-tags.sh.log: t5000-tags.sh
1396
@p='t5000-tags.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1397
t6000-dm.sh.log: t6000-dm.sh
1398
@p='t6000-dm.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1399
t7000-scripting.sh.log: t7000-scripting.sh
1400
@p='t7000-scripting.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1401
t8000-loop.sh.log: t8000-loop.sh
1402
@p='t8000-loop.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1403
t9010-big-sector.sh.log: t9010-big-sector.sh
1404
@p='t9010-big-sector.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1405
t9020-alignment.sh.log: t9020-alignment.sh
1406
@p='t9020-alignment.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1407
t9021-maxima.sh.log: t9021-maxima.sh
1408
@p='t9021-maxima.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1409
t9030-align-check.sh.log: t9030-align-check.sh
1410
@p='t9030-align-check.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1411
t9040-many-partitions.sh.log: t9040-many-partitions.sh
1412
@p='t9040-many-partitions.sh'; $(am__check_pre) $(LOG_COMPILE) "$$tst" $(am__check_post)
1414
@p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1415
@am__EXEEXT_TRUE@.test$(EXEEXT).log:
1416
@am__EXEEXT_TRUE@ @p='$<'; $(am__check_pre) $(TEST_LOG_COMPILE) "$$tst" $(am__check_post)
1584
log_list='' trs_list=''; $(am__set_TESTS_bases); \
1585
for i in $$bases; do \
1586
if test $@ = recheck; then \
1587
test -f $$i.trs || test -f $$i.log || continue; \
1588
grep "^$$ws*:recheck:$$ws*no$$ws*$$" $$i.trs \
1589
>/dev/null 2>&1 && continue; \
1591
if test -z "$$log_list"; then \
1592
log_list="$$i.log"; \
1594
log_list="$$log_list $$i.log"; \
1596
if test -z "$$trs_list"; then \
1597
trs_list="$$i.trs"; \
1599
trs_list="$$trs_list $$i.trs"; \
1602
if test $@ != recheck || $(am__make_dryrun); then :; else \
1603
test -z "$$log_list" || rm -f $$log_list; \
1604
test -z "$$trs_list" || rm -f $$trs_list; \
1606
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"
1607
recheck: $(check_PROGRAMS)
1611
$(am__check_pre) $(SH_LOG_DRIVER) --test-name "$$f" \
1612
--log-file $$b.log --trs-file $$b.trs \
1613
$(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \
1614
"$$tst" $(AM_TESTS_FD_REDIRECT)
1615
@am__EXEEXT_TRUE@.sh$(EXEEXT).log:
1616
@am__EXEEXT_TRUE@ @p='$<'; \
1617
@am__EXEEXT_TRUE@ $(am__set_b); \
1618
@am__EXEEXT_TRUE@ $(am__check_pre) $(SH_LOG_DRIVER) --test-name "$$f" \
1619
@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
1620
@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \
1621
@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1418
1623
distdir: $(DISTFILES)
1419
1624
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \