340
397
man8dir = $(mandir)/man8
342
399
MANS = $(dist_man_MANS)
400
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
401
# Read a list of newline-separated strings from the standard input,
402
# and print each of them once, without duplicates. Input order is
404
am__uniquify_input = $(AWK) '\
405
BEGIN { nonempty = 0; } \
406
{ items[$$0] = 1; nonempty = 1; } \
407
END { if (nonempty) { for (i in items) print i; }; } \
409
# Make sure the list of sources is unique. This is necessary because,
410
# e.g., the same source file might be shared among _SOURCES variables
411
# for different programs/libraries.
412
am__define_uniq_tagged_files = \
413
list='$(am__tagged_files)'; \
414
unique=`for i in $$list; do \
415
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
416
done | $(am__uniquify_input)`
345
# If stdout is a non-dumb tty, use colors. If test -t is not supported,
346
# then this fails; a conservative approach. Of course do not redirect
347
# stdout here, just stderr.
349
red=; grn=; lgn=; blu=; std=; \
350
test "X$(AM_COLOR_TESTS)" != Xno \
351
&& test "X$$TERM" != Xdumb \
352
&& { test "X$(AM_COLOR_TESTS)" = Xalways || test -t 1 2>/dev/null; } \
419
am__tty_colors_dummy = \
420
mgn= red= grn= lgn= blu= brg= std=; \
423
$(am__tty_colors_dummy); \
424
if test "X$(AM_COLOR_TESTS)" = Xno; then \
425
am__color_tests=no; \
426
elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
427
am__color_tests=yes; \
428
elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
429
am__color_tests=yes; \
431
if test $$am__color_tests = yes; then \
441
am__recheck_rx = ^[ ]*:recheck:[ ]*
442
am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
443
am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
444
# A command that, given a newline-separated list of test names on the
445
# standard input, print the name of the tests that are to be re-run
446
# upon "make recheck".
447
am__list_recheck_tests = $(AWK) '{ \
449
while ((rc = (getline line < ($$0 ".trs"))) != 0) \
453
if ((getline line2 < ($$0 ".log")) < 0) \
457
else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
462
else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
469
close ($$0 ".trs"); \
470
close ($$0 ".log"); \
472
# A command that, given a newline-separated list of test names on the
473
# standard input, create the global log from their .trs and .log files.
474
am__create_global_log = $(AWK) ' \
475
function fatal(msg) \
477
print "fatal: making $@: " msg | "cat >&2"; \
480
function rst_section(header) \
483
len = length(header); \
484
for (i = 1; i <= len; i = i + 1) \
489
copy_in_global_log = 1; \
490
global_test_result = "RUN"; \
491
while ((rc = (getline line < ($$0 ".trs"))) != 0) \
494
fatal("failed to read from " $$0 ".trs"); \
495
if (line ~ /$(am__global_test_result_rx)/) \
497
sub("$(am__global_test_result_rx)", "", line); \
498
sub("[ ]*$$", "", line); \
499
global_test_result = line; \
501
else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
502
copy_in_global_log = 0; \
504
if (copy_in_global_log) \
506
rst_section(global_test_result ": " $$0); \
507
while ((rc = (getline line < ($$0 ".log"))) != 0) \
510
fatal("failed to read from " $$0 ".log"); \
515
close ($$0 ".trs"); \
516
close ($$0 ".log"); \
518
# Restructured Text title.
519
am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
520
# Solaris 10 'make', and several other traditional 'make' implementations,
521
# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
522
# by disabling -e (using the XSI extension "set +e") if it's set.
523
am__sh_e_setup = case $$- in *e*) set +e;; esac
524
# Default flags passed to test drivers.
525
am__common_driver_flags = \
526
--color-tests "$$am__color_tests" \
527
--enable-hard-errors "$$am__enable_hard_errors" \
528
--expect-failure "$$am__expect_failure"
529
# To be inserted before the command running the test. Creates the
530
# directory for the log if needed. Stores in $dir the directory
531
# containing $f, in $tst the test, in $log the log. Executes the
532
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
533
# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
534
# will run the test scripts (or their associated LOG_COMPILER, if
538
$(am__vpath_adj_setup) $(am__vpath_adj) \
540
srcdir=$(srcdir); export srcdir; \
542
*/*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
545
test "x$$am__odir" = x"." || test -d "$$am__odir" \
546
|| $(MKDIR_P) "$$am__odir" || exit $$?; \
547
if test -f "./$$f"; then dir=./; \
548
elif test -f "$$f"; then dir=; \
549
else dir="$(srcdir)/"; fi; \
550
tst=$$dir$$f; log='$@'; \
551
if test -n '$(DISABLE_HARD_ERRORS)'; then \
552
am__enable_hard_errors=no; \
554
am__enable_hard_errors=yes; \
556
case " $(XFAIL_TESTS) " in \
557
*[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
558
am__expect_failure=yes;; \
560
am__expect_failure=no;; \
562
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
563
# A shell command to get the names of the tests scripts with any registered
564
# extension removed (i.e., equivalently, the names of the test logs, with
565
# the '.log' extension removed). The result is saved in the shell variable
566
# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
567
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
568
# since that might cause problem with VPATH rewrites for suffix-less tests.
569
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
570
am__set_TESTS_bases = \
571
bases='$(TEST_LOGS)'; \
572
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
574
RECHECK_LOGS = $(TEST_LOGS)
575
AM_RECURSIVE_TARGETS = check recheck
576
TEST_SUITE_LOG = test-suite.log
577
TEST_EXTENSIONS = @EXEEXT@ .test
578
LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
579
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
585
*) b=`echo '$@' | sed 's/\.log$$//'`; \
590
am__test_logs1 = $(TESTS:=.log)
591
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
592
TEST_LOGS = $(am__test_logs2:.test.log=.log)
593
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
594
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
360
596
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
597
ABI_COMPLIANCE_CHECKER = @ABI_COMPLIANCE_CHECKER@
361
598
ACLOCAL = @ACLOCAL@
362
599
ALLOCA = @ALLOCA@
946
1250
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
947
1251
echo " rm -f" $$list; \
949
1254
init$(EXEEXT): $(init_OBJECTS) $(init_DEPENDENCIES) $(EXTRA_init_DEPENDENCIES)
950
1255
@rm -f init$(EXEEXT)
951
1256
$(AM_V_CCLD)$(LINK) $(init_OBJECTS) $(init_LDADD) $(LIBS)
952
1258
test_blocked$(EXEEXT): $(test_blocked_OBJECTS) $(test_blocked_DEPENDENCIES) $(EXTRA_test_blocked_DEPENDENCIES)
953
1259
@rm -f test_blocked$(EXEEXT)
954
1260
$(AM_V_CCLD)$(LINK) $(test_blocked_OBJECTS) $(test_blocked_LDADD) $(LIBS)
955
1262
test_conf$(EXEEXT): $(test_conf_OBJECTS) $(test_conf_DEPENDENCIES) $(EXTRA_test_conf_DEPENDENCIES)
956
1263
@rm -f test_conf$(EXEEXT)
957
1264
$(AM_V_CCLD)$(LINK) $(test_conf_OBJECTS) $(test_conf_LDADD) $(LIBS)
958
1266
test_conf_static$(EXEEXT): $(test_conf_static_OBJECTS) $(test_conf_static_DEPENDENCIES) $(EXTRA_test_conf_static_DEPENDENCIES)
959
1267
@rm -f test_conf_static$(EXEEXT)
960
1268
$(AM_V_CCLD)$(LINK) $(test_conf_static_OBJECTS) $(test_conf_static_LDADD) $(LIBS)
961
1270
test_control$(EXEEXT): $(test_control_OBJECTS) $(test_control_DEPENDENCIES) $(EXTRA_test_control_DEPENDENCIES)
962
1271
@rm -f test_control$(EXEEXT)
963
1272
$(AM_V_CCLD)$(LINK) $(test_control_OBJECTS) $(test_control_LDADD) $(LIBS)
964
1274
test_environ$(EXEEXT): $(test_environ_OBJECTS) $(test_environ_DEPENDENCIES) $(EXTRA_test_environ_DEPENDENCIES)
965
1275
@rm -f test_environ$(EXEEXT)
966
1276
$(AM_V_CCLD)$(LINK) $(test_environ_OBJECTS) $(test_environ_LDADD) $(LIBS)
967
1278
test_event$(EXEEXT): $(test_event_OBJECTS) $(test_event_DEPENDENCIES) $(EXTRA_test_event_DEPENDENCIES)
968
1279
@rm -f test_event$(EXEEXT)
969
1280
$(AM_V_CCLD)$(LINK) $(test_event_OBJECTS) $(test_event_LDADD) $(LIBS)
970
1282
test_event_operator$(EXEEXT): $(test_event_operator_OBJECTS) $(test_event_operator_DEPENDENCIES) $(EXTRA_test_event_operator_DEPENDENCIES)
971
1283
@rm -f test_event_operator$(EXEEXT)
972
1284
$(AM_V_CCLD)$(LINK) $(test_event_operator_OBJECTS) $(test_event_operator_LDADD) $(LIBS)
973
1286
test_job$(EXEEXT): $(test_job_OBJECTS) $(test_job_DEPENDENCIES) $(EXTRA_test_job_DEPENDENCIES)
974
1287
@rm -f test_job$(EXEEXT)
975
1288
$(AM_V_CCLD)$(LINK) $(test_job_OBJECTS) $(test_job_LDADD) $(LIBS)
976
1290
test_job_class$(EXEEXT): $(test_job_class_OBJECTS) $(test_job_class_DEPENDENCIES) $(EXTRA_test_job_class_DEPENDENCIES)
977
1291
@rm -f test_job_class$(EXEEXT)
978
1292
$(AM_V_CCLD)$(LINK) $(test_job_class_OBJECTS) $(test_job_class_LDADD) $(LIBS)
979
1294
test_job_process$(EXEEXT): $(test_job_process_OBJECTS) $(test_job_process_DEPENDENCIES) $(EXTRA_test_job_process_DEPENDENCIES)
980
1295
@rm -f test_job_process$(EXEEXT)
981
1296
$(AM_V_CCLD)$(LINK) $(test_job_process_OBJECTS) $(test_job_process_LDADD) $(LIBS)
982
1298
test_log$(EXEEXT): $(test_log_OBJECTS) $(test_log_DEPENDENCIES) $(EXTRA_test_log_DEPENDENCIES)
983
1299
@rm -f test_log$(EXEEXT)
984
1300
$(AM_V_CCLD)$(LINK) $(test_log_OBJECTS) $(test_log_LDADD) $(LIBS)
1302
test_main$(EXEEXT): $(test_main_OBJECTS) $(test_main_DEPENDENCIES) $(EXTRA_test_main_DEPENDENCIES)
1303
@rm -f test_main$(EXEEXT)
1304
$(AM_V_CCLD)$(LINK) $(test_main_OBJECTS) $(test_main_LDADD) $(LIBS)
985
1306
test_parse_conf$(EXEEXT): $(test_parse_conf_OBJECTS) $(test_parse_conf_DEPENDENCIES) $(EXTRA_test_parse_conf_DEPENDENCIES)
986
1307
@rm -f test_parse_conf$(EXEEXT)
987
1308
$(AM_V_CCLD)$(LINK) $(test_parse_conf_OBJECTS) $(test_parse_conf_LDADD) $(LIBS)
988
1310
test_parse_job$(EXEEXT): $(test_parse_job_OBJECTS) $(test_parse_job_DEPENDENCIES) $(EXTRA_test_parse_job_DEPENDENCIES)
989
1311
@rm -f test_parse_job$(EXEEXT)
990
1312
$(AM_V_CCLD)$(LINK) $(test_parse_job_OBJECTS) $(test_parse_job_LDADD) $(LIBS)
991
1314
test_process$(EXEEXT): $(test_process_OBJECTS) $(test_process_DEPENDENCIES) $(EXTRA_test_process_DEPENDENCIES)
992
1315
@rm -f test_process$(EXEEXT)
993
1316
$(AM_V_CCLD)$(LINK) $(test_process_OBJECTS) $(test_process_LDADD) $(LIBS)
994
1318
test_state$(EXEEXT): $(test_state_OBJECTS) $(test_state_DEPENDENCIES) $(EXTRA_test_state_DEPENDENCIES)
995
1319
@rm -f test_state$(EXEEXT)
996
1320
$(AM_V_CCLD)$(LINK) $(test_state_OBJECTS) $(test_state_LDADD) $(LIBS)
997
1322
test_system$(EXEEXT): $(test_system_OBJECTS) $(test_system_DEPENDENCIES) $(EXTRA_test_system_DEPENDENCIES)
998
1323
@rm -f test_system$(EXEEXT)
999
1324
$(AM_V_CCLD)$(LINK) $(test_system_OBJECTS) $(test_system_LDADD) $(LIBS)
1000
1326
test_xdg$(EXEEXT): $(test_xdg_OBJECTS) $(test_xdg_DEPENDENCIES) $(EXTRA_test_xdg_DEPENDENCIES)
1001
1327
@rm -f test_xdg$(EXEEXT)
1002
1328
$(AM_V_CCLD)$(LINK) $(test_xdg_OBJECTS) $(test_xdg_LDADD) $(LIBS)
1504
1840
here=`$(am__cd) $(top_builddir) && pwd` \
1505
1841
&& $(am__cd) $(top_srcdir) \
1506
1842
&& gtags -i $(GTAGS_ARGS) "$$here"
1843
cscopelist: cscopelist-am
1845
cscopelist-am: $(am__tagged_files)
1846
list='$(am__tagged_files)'; \
1847
case "$(srcdir)" in \
1848
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1849
*) sdir=$(subdir)/$(srcdir) ;; \
1851
for i in $$list; do \
1852
if test -f "$$i"; then \
1853
echo "$(subdir)/$$i"; \
1855
echo "$$sdir/$$i"; \
1857
done >> $(top_builddir)/cscope.files
1508
1859
distclean-tags:
1509
1860
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1511
check-TESTS: $(TESTS)
1512
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
1513
srcdir=$(srcdir); export srcdir; \
1514
list=' $(TESTS) '; \
1515
$(am__tty_colors); \
1516
if test -n "$$list"; then \
1517
for tst in $$list; do \
1518
if test -f ./$$tst; then dir=./; \
1519
elif test -f $$tst; then dir=; \
1520
else dir="$(srcdir)/"; fi; \
1521
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
1522
all=`expr $$all + 1`; \
1523
case " $(XFAIL_TESTS) " in \
1524
*[\ \ ]$$tst[\ \ ]*) \
1525
xpass=`expr $$xpass + 1`; \
1526
failed=`expr $$failed + 1`; \
1527
col=$$red; res=XPASS; \
1530
col=$$grn; res=PASS; \
1533
elif test $$? -ne 77; then \
1534
all=`expr $$all + 1`; \
1535
case " $(XFAIL_TESTS) " in \
1536
*[\ \ ]$$tst[\ \ ]*) \
1537
xfail=`expr $$xfail + 1`; \
1538
col=$$lgn; res=XFAIL; \
1541
failed=`expr $$failed + 1`; \
1542
col=$$red; res=FAIL; \
1546
skip=`expr $$skip + 1`; \
1547
col=$$blu; res=SKIP; \
1549
echo "$${col}$$res$${std}: $$tst"; \
1862
# Recover from deleted '.trs' file; this should ensure that
1863
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
1864
# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
1865
# to avoid problems with "make -n".
1868
$(MAKE) $(AM_MAKEFLAGS) $<
1870
# Leading 'am--fnord' is there to ensure the list of targets does not
1871
# expand to empty, as could happen e.g. with make check TESTS=''.
1872
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
1876
$(TEST_SUITE_LOG): $(TEST_LOGS)
1877
@$(am__set_TESTS_bases); \
1878
am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
1879
redo_bases=`for i in $$bases; do \
1880
am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
1882
if test -n "$$redo_bases"; then \
1883
redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
1884
redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
1885
if $(am__make_dryrun); then :; else \
1886
rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
1889
if test -n "$$am__remaking_logs"; then \
1890
echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
1891
"recursion detected" >&2; \
1893
am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
1895
if $(am__make_dryrun); then :; else \
1897
errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
1898
for i in $$redo_bases; do \
1899
test -f $$i.trs && test -r $$i.trs \
1900
|| { echo "$$errmsg $$i.trs" >&2; st=1; }; \
1901
test -f $$i.log && test -r $$i.log \
1902
|| { echo "$$errmsg $$i.log" >&2; st=1; }; \
1551
if test "$$all" -eq 1; then \
1558
if test "$$failed" -eq 0; then \
1559
if test "$$xfail" -eq 0; then \
1560
banner="$$All$$all $$tests passed"; \
1562
if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
1563
banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
1566
if test "$$xpass" -eq 0; then \
1567
banner="$$failed of $$all $$tests failed"; \
1569
if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
1570
banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
1573
dashes="$$banner"; \
1575
if test "$$skip" -ne 0; then \
1576
if test "$$skip" -eq 1; then \
1577
skipped="($$skip test was not run)"; \
1579
skipped="($$skip tests were not run)"; \
1581
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
1582
dashes="$$skipped"; \
1585
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
1586
report="Please report to $(PACKAGE_BUGREPORT)"; \
1587
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
1588
dashes="$$report"; \
1590
dashes=`echo "$$dashes" | sed s/./=/g`; \
1591
if test "$$failed" -eq 0; then \
1596
echo "$${col}$$dashes$${std}"; \
1597
echo "$${col}$$banner$${std}"; \
1598
test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
1599
test -z "$$report" || echo "$${col}$$report$${std}"; \
1600
echo "$${col}$$dashes$${std}"; \
1601
test "$$failed" -eq 0; \
1904
test $$st -eq 0 || exit 1; \
1906
@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
1908
results=`for b in $$bases; do echo $$b.trs; done`; \
1909
test -n "$$results" || results=/dev/null; \
1910
all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
1911
pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
1912
fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
1913
skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
1914
xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
1915
xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
1916
error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
1917
if test `expr $$fail + $$xpass + $$error` -eq 0; then \
1922
br='==================='; br=$$br$$br$$br$$br; \
1925
if test x"$$1" = x"--maybe-color"; then \
1926
maybe_colorize=yes; \
1927
elif test x"$$1" = x"--no-color"; then \
1928
maybe_colorize=no; \
1930
echo "$@: invalid 'result_count' usage" >&2; exit 4; \
1933
desc=$$1 count=$$2; \
1934
if test $$maybe_colorize = yes && test $$count -gt 0; then \
1935
color_start=$$3 color_end=$$std; \
1937
color_start= color_end=; \
1939
echo "$${color_start}# $$desc $$count$${color_end}"; \
1941
create_testsuite_report () \
1943
result_count $$1 "TOTAL:" $$all "$$brg"; \
1944
result_count $$1 "PASS: " $$pass "$$grn"; \
1945
result_count $$1 "SKIP: " $$skip "$$blu"; \
1946
result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
1947
result_count $$1 "FAIL: " $$fail "$$red"; \
1948
result_count $$1 "XPASS:" $$xpass "$$red"; \
1949
result_count $$1 "ERROR:" $$error "$$mgn"; \
1952
echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
1954
create_testsuite_report --no-color; \
1956
echo ".. contents:: :depth: 2"; \
1958
for b in $$bases; do echo $$b; done \
1959
| $(am__create_global_log); \
1960
} >$(TEST_SUITE_LOG).tmp || exit 1; \
1961
mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
1962
if $$success; then \
1966
test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
1968
echo "$${col}$$br$${std}"; \
1969
echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
1970
echo "$${col}$$br$${std}"; \
1971
create_testsuite_report --maybe-color; \
1972
echo "$$col$$br$$std"; \
1973
if $$success; then :; else \
1974
echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
1975
if test -n "$(PACKAGE_BUGREPORT)"; then \
1976
echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
1978
echo "$$col$$br$$std"; \
1983
@list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
1984
@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
1985
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1986
@set +e; $(am__set_TESTS_bases); \
1987
log_list=`for i in $$bases; do echo $$i.log; done`; \
1988
trs_list=`for i in $$bases; do echo $$i.trs; done`; \
1989
log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
1990
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
1992
recheck: all $(check_LTLIBRARIES) $(check_PROGRAMS) $(check_SCRIPTS)
1993
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
1994
@set +e; $(am__set_TESTS_bases); \
1995
bases=`for i in $$bases; do echo $$i; done \
1996
| $(am__list_recheck_tests)` || exit 1; \
1997
log_list=`for i in $$bases; do echo $$i.log; done`; \
1998
log_list=`echo $$log_list`; \
1999
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
2000
am__force_recheck=am--force-recheck \
2001
TEST_LOGS="$$log_list"; \
2003
test_system.log: test_system$(EXEEXT)
2004
@p='test_system$(EXEEXT)'; \
2006
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2007
--log-file $$b.log --trs-file $$b.trs \
2008
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2009
"$$tst" $(AM_TESTS_FD_REDIRECT)
2010
test_environ.log: test_environ$(EXEEXT)
2011
@p='test_environ$(EXEEXT)'; \
2013
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2014
--log-file $$b.log --trs-file $$b.trs \
2015
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2016
"$$tst" $(AM_TESTS_FD_REDIRECT)
2017
test_process.log: test_process$(EXEEXT)
2018
@p='test_process$(EXEEXT)'; \
2020
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2021
--log-file $$b.log --trs-file $$b.trs \
2022
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2023
"$$tst" $(AM_TESTS_FD_REDIRECT)
2024
test_job_class.log: test_job_class$(EXEEXT)
2025
@p='test_job_class$(EXEEXT)'; \
2026
b='test_job_class'; \
2027
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2028
--log-file $$b.log --trs-file $$b.trs \
2029
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2030
"$$tst" $(AM_TESTS_FD_REDIRECT)
2031
test_job_process.log: test_job_process$(EXEEXT)
2032
@p='test_job_process$(EXEEXT)'; \
2033
b='test_job_process'; \
2034
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2035
--log-file $$b.log --trs-file $$b.trs \
2036
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2037
"$$tst" $(AM_TESTS_FD_REDIRECT)
2038
test_job.log: test_job$(EXEEXT)
2039
@p='test_job$(EXEEXT)'; \
2041
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2042
--log-file $$b.log --trs-file $$b.trs \
2043
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2044
"$$tst" $(AM_TESTS_FD_REDIRECT)
2045
test_log.log: test_log$(EXEEXT)
2046
@p='test_log$(EXEEXT)'; \
2048
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2049
--log-file $$b.log --trs-file $$b.trs \
2050
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2051
"$$tst" $(AM_TESTS_FD_REDIRECT)
2052
test_state.log: test_state$(EXEEXT)
2053
@p='test_state$(EXEEXT)'; \
2055
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2056
--log-file $$b.log --trs-file $$b.trs \
2057
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2058
"$$tst" $(AM_TESTS_FD_REDIRECT)
2059
test_event.log: test_event$(EXEEXT)
2060
@p='test_event$(EXEEXT)'; \
2062
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2063
--log-file $$b.log --trs-file $$b.trs \
2064
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2065
"$$tst" $(AM_TESTS_FD_REDIRECT)
2066
test_event_operator.log: test_event_operator$(EXEEXT)
2067
@p='test_event_operator$(EXEEXT)'; \
2068
b='test_event_operator'; \
2069
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2070
--log-file $$b.log --trs-file $$b.trs \
2071
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2072
"$$tst" $(AM_TESTS_FD_REDIRECT)
2073
test_blocked.log: test_blocked$(EXEEXT)
2074
@p='test_blocked$(EXEEXT)'; \
2076
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2077
--log-file $$b.log --trs-file $$b.trs \
2078
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2079
"$$tst" $(AM_TESTS_FD_REDIRECT)
2080
test_parse_job.log: test_parse_job$(EXEEXT)
2081
@p='test_parse_job$(EXEEXT)'; \
2082
b='test_parse_job'; \
2083
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2084
--log-file $$b.log --trs-file $$b.trs \
2085
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2086
"$$tst" $(AM_TESTS_FD_REDIRECT)
2087
test_parse_conf.log: test_parse_conf$(EXEEXT)
2088
@p='test_parse_conf$(EXEEXT)'; \
2089
b='test_parse_conf'; \
2090
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2091
--log-file $$b.log --trs-file $$b.trs \
2092
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2093
"$$tst" $(AM_TESTS_FD_REDIRECT)
2094
test_conf_static.log: test_conf_static$(EXEEXT)
2095
@p='test_conf_static$(EXEEXT)'; \
2096
b='test_conf_static'; \
2097
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2098
--log-file $$b.log --trs-file $$b.trs \
2099
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2100
"$$tst" $(AM_TESTS_FD_REDIRECT)
2101
test_xdg.log: test_xdg$(EXEEXT)
2102
@p='test_xdg$(EXEEXT)'; \
2104
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2105
--log-file $$b.log --trs-file $$b.trs \
2106
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2107
"$$tst" $(AM_TESTS_FD_REDIRECT)
2108
test_control.log: test_control$(EXEEXT)
2109
@p='test_control$(EXEEXT)'; \
2111
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2112
--log-file $$b.log --trs-file $$b.trs \
2113
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2114
"$$tst" $(AM_TESTS_FD_REDIRECT)
2115
test_main.log: test_main$(EXEEXT)
2116
@p='test_main$(EXEEXT)'; \
2118
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2119
--log-file $$b.log --trs-file $$b.trs \
2120
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2121
"$$tst" $(AM_TESTS_FD_REDIRECT)
2122
test_conf_preload.sh.log: test_conf_preload.sh$(EXEEXT)
2123
@p='test_conf_preload.sh$(EXEEXT)'; \
2124
b='test_conf_preload.sh'; \
2125
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
2126
--log-file $$b.log --trs-file $$b.trs \
2127
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
2128
"$$tst" $(AM_TESTS_FD_REDIRECT)
2132
$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
2133
--log-file $$b.log --trs-file $$b.trs \
2134
$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
2135
"$$tst" $(AM_TESTS_FD_REDIRECT)
2136
@am__EXEEXT_TRUE@.test$(EXEEXT).log:
2137
@am__EXEEXT_TRUE@ @p='$<'; \
2138
@am__EXEEXT_TRUE@ $(am__set_b); \
2139
@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
2140
@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
2141
@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
2142
@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
1604
2144
distdir: $(DISTFILES)
1605
@list='$(MANS)'; if test -n "$$list"; then \
1606
list=`for p in $$list; do \
1607
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
1608
if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
1609
if test -n "$$list" && \
1610
grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
1611
echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
1612
grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
1613
echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
1614
echo " typically \`make maintainer-clean' will remove them" >&2; \
1618
2145
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1619
2146
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1620
2147
list='$(DISTFILES)'; \