1# Makefile.in generated by automake 1.17 from Makefile.am. 2# @configure_input@ 3 4# Copyright (C) 1994-2024 Free Software Foundation, Inc. 5 6# This Makefile.in is free software; the Free Software Foundation 7# gives unlimited permission to copy and/or distribute it, 8# with or without modifications, as long as this notice is preserved. 9 10# This program is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13# PARTICULAR PURPOSE. 14 15@SET_MAKE@ 16VPATH = @srcdir@ 17am__is_gnu_make = { \ 18 if test -z '$(MAKELEVEL)'; then \ 19 false; \ 20 elif test -n '$(MAKE_HOST)'; then \ 21 true; \ 22 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ 23 true; \ 24 else \ 25 false; \ 26 fi; \ 27} 28am__make_running_with_option = \ 29 case $${target_option-} in \ 30 ?) ;; \ 31 *) echo "am__make_running_with_option: internal error: invalid" \ 32 "target option '$${target_option-}' specified" >&2; \ 33 exit 1;; \ 34 esac; \ 35 has_opt=no; \ 36 sane_makeflags=$$MAKEFLAGS; \ 37 if $(am__is_gnu_make); then \ 38 sane_makeflags=$$MFLAGS; \ 39 else \ 40 case $$MAKEFLAGS in \ 41 *\\[\ \ ]*) \ 42 bs=\\; \ 43 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ 44 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ 45 esac; \ 46 fi; \ 47 skip_next=no; \ 48 strip_trailopt () \ 49 { \ 50 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ 51 }; \ 52 for flg in $$sane_makeflags; do \ 53 test $$skip_next = yes && { skip_next=no; continue; }; \ 54 case $$flg in \ 55 *=*|--*) continue;; \ 56 -*I) strip_trailopt 'I'; skip_next=yes;; \ 57 -*I?*) strip_trailopt 'I';; \ 58 -*O) strip_trailopt 'O'; skip_next=yes;; \ 59 -*O?*) strip_trailopt 'O';; \ 60 -*l) strip_trailopt 'l'; skip_next=yes;; \ 61 -*l?*) strip_trailopt 'l';; \ 62 -[dEDm]) skip_next=yes;; \ 63 -[JT]) skip_next=yes;; \ 64 esac; \ 65 case $$flg in \ 66 *$$target_option*) has_opt=yes; break;; \ 67 esac; \ 68 done; \ 69 test $$has_opt = yes 70am__make_dryrun = (target_option=n; $(am__make_running_with_option)) 71am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 72am__rm_f = rm -f $(am__rm_f_notfound) 73am__rm_rf = rm -rf $(am__rm_f_notfound) 74pkgdatadir = $(datadir)/@PACKAGE@ 75pkgincludedir = $(includedir)/@PACKAGE@ 76pkglibdir = $(libdir)/@PACKAGE@ 77pkglibexecdir = $(libexecdir)/@PACKAGE@ 78am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 79install_sh_DATA = $(install_sh) -c -m 644 80install_sh_PROGRAM = $(install_sh) -c 81install_sh_SCRIPT = $(install_sh) -c 82INSTALL_HEADER = $(INSTALL_DATA) 83transform = $(program_transform_name) 84NORMAL_INSTALL = : 85PRE_INSTALL = : 86POST_INSTALL = : 87NORMAL_UNINSTALL = : 88PRE_UNINSTALL = : 89POST_UNINSTALL = : 90build_triplet = @build@ 91host_triplet = @host@ 92subdir = tests 93ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 94am__aclocal_m4_deps = $(top_srcdir)/configure.ac 95am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 96 $(ACLOCAL_M4) 97DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) 98mkinstalldirs = $(install_sh) -d 99CONFIG_HEADER = $(top_builddir)/config.h 100CONFIG_CLEAN_FILES = 101CONFIG_CLEAN_VPATH_FILES = 102AM_V_P = $(am__v_P_@AM_V@) 103am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) 104am__v_P_0 = false 105am__v_P_1 = : 106AM_V_GEN = $(am__v_GEN_@AM_V@) 107am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) 108am__v_GEN_0 = @echo " GEN " $@; 109am__v_GEN_1 = 110AM_V_at = $(am__v_at_@AM_V@) 111am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) 112am__v_at_0 = @ 113am__v_at_1 = 114SOURCES = 115DIST_SOURCES = 116am__can_run_installinfo = \ 117 case $$AM_UPDATE_INFO_DIR in \ 118 n|no|NO) false;; \ 119 *) (install-info --version) >/dev/null 2>&1;; \ 120 esac 121am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) 122am__tty_colors_dummy = \ 123 mgn= red= grn= lgn= blu= brg= std=; \ 124 am__color_tests=no 125am__tty_colors = { \ 126 $(am__tty_colors_dummy); \ 127 if test "X$(AM_COLOR_TESTS)" = Xno; then \ 128 am__color_tests=no; \ 129 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ 130 am__color_tests=yes; \ 131 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ 132 am__color_tests=yes; \ 133 fi; \ 134 if test $$am__color_tests = yes; then \ 135 red='[0;31m'; \ 136 grn='[0;32m'; \ 137 lgn='[1;32m'; \ 138 blu='[1;34m'; \ 139 mgn='[0;35m'; \ 140 brg='[1m'; \ 141 std='[m'; \ 142 fi; \ 143} 144am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 145am__vpath_adj = case $$p in \ 146 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 147 *) f=$$p;; \ 148 esac; 149am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; 150am__install_max = 40 151am__nobase_strip_setup = \ 152 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` 153am__nobase_strip = \ 154 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" 155am__nobase_list = $(am__nobase_strip_setup); \ 156 for p in $$list; do echo "$$p $$p"; done | \ 157 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ 158 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ 159 if (++n[$$2] == $(am__install_max)) \ 160 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ 161 END { for (dir in files) print dir, files[dir] }' 162am__base_list = \ 163 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ 164 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' 165am__uninstall_files_from_dir = { \ 166 { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ 167 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ 168 $(am__cd) "$$dir" && echo $$files | $(am__xargs_n) 40 $(am__rm_f); }; \ 169 } 170am__recheck_rx = ^[ ]*:recheck:[ ]* 171am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* 172am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* 173# A command that, given a newline-separated list of test names on the 174# standard input, print the name of the tests that are to be re-run 175# upon "make recheck". 176am__list_recheck_tests = $(AWK) '{ \ 177 recheck = 1; \ 178 while ((rc = (getline line < ($$0 ".trs"))) != 0) \ 179 { \ 180 if (rc < 0) \ 181 { \ 182 if ((getline line2 < ($$0 ".log")) < 0) \ 183 recheck = 0; \ 184 break; \ 185 } \ 186 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ 187 { \ 188 recheck = 0; \ 189 break; \ 190 } \ 191 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ 192 { \ 193 break; \ 194 } \ 195 }; \ 196 if (recheck) \ 197 print $$0; \ 198 close ($$0 ".trs"); \ 199 close ($$0 ".log"); \ 200}' 201# A command that, given a newline-separated list of test names on the 202# standard input, create the global log from their .trs and .log files. 203am__create_global_log = $(AWK) ' \ 204function fatal(msg) \ 205{ \ 206 print "fatal: making $@: " msg | "cat >&2"; \ 207 exit 1; \ 208} \ 209function rst_section(header) \ 210{ \ 211 print header; \ 212 len = length(header); \ 213 for (i = 1; i <= len; i = i + 1) \ 214 printf "="; \ 215 printf "\n\n"; \ 216} \ 217{ \ 218 copy_in_global_log = 1; \ 219 global_test_result = "RUN"; \ 220 while ((rc = (getline line < ($$0 ".trs"))) != 0) \ 221 { \ 222 if (rc < 0) \ 223 fatal("failed to read from " $$0 ".trs"); \ 224 if (line ~ /$(am__global_test_result_rx)/) \ 225 { \ 226 sub("$(am__global_test_result_rx)", "", line); \ 227 sub("[ ]*$$", "", line); \ 228 global_test_result = line; \ 229 } \ 230 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ 231 copy_in_global_log = 0; \ 232 }; \ 233 if (copy_in_global_log) \ 234 { \ 235 rst_section(global_test_result ": " $$0); \ 236 while ((rc = (getline line < ($$0 ".log"))) != 0) \ 237 { \ 238 if (rc < 0) \ 239 fatal("failed to read from " $$0 ".log"); \ 240 print line; \ 241 }; \ 242 printf "\n"; \ 243 }; \ 244 close ($$0 ".trs"); \ 245 close ($$0 ".log"); \ 246}' 247# Restructured Text title. 248am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } 249# Solaris 10 'make', and several other traditional 'make' implementations, 250# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it 251# by disabling -e (using the XSI extension "set +e") if it's set. 252am__sh_e_setup = case $$- in *e*) set +e;; esac 253# Default flags passed to test drivers. 254am__common_driver_flags = \ 255 --color-tests "$$am__color_tests" \ 256 $$am__collect_skipped_logs \ 257 --enable-hard-errors "$$am__enable_hard_errors" \ 258 --expect-failure "$$am__expect_failure" 259# To be inserted before the command running the test. Creates the 260# directory for the log if needed. Stores in $dir the directory 261# containing $f, in $tst the test, in $log the log. Executes the 262# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and 263# passes TESTS_ENVIRONMENT. Set up options for the wrapper that 264# will run the test scripts (or their associated LOG_COMPILER, if 265# thy have one). 266am__check_pre = \ 267$(am__sh_e_setup); \ 268$(am__vpath_adj_setup) $(am__vpath_adj) \ 269$(am__tty_colors); \ 270srcdir=$(srcdir); export srcdir; \ 271case "$@" in \ 272 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ 273 *) am__odir=.;; \ 274esac; \ 275test "x$$am__odir" = x"." || test -d "$$am__odir" \ 276 || $(MKDIR_P) "$$am__odir" || exit $$?; \ 277if test -f "./$$f"; then dir=./; \ 278elif test -f "$$f"; then dir=; \ 279else dir="$(srcdir)/"; fi; \ 280tst=$$dir$$f; log='$@'; \ 281if test -n '$(IGNORE_SKIPPED_LOGS)'; then \ 282 am__collect_skipped_logs='--collect-skipped-logs no'; \ 283else \ 284 am__collect_skipped_logs=''; \ 285fi; \ 286if test -n '$(DISABLE_HARD_ERRORS)'; then \ 287 am__enable_hard_errors=no; \ 288else \ 289 am__enable_hard_errors=yes; \ 290fi; \ 291case " $(XFAIL_TESTS) " in \ 292 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ 293 am__expect_failure=yes;; \ 294 *) \ 295 am__expect_failure=no;; \ 296esac; \ 297$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) 298# A shell command to get the names of the tests scripts with any registered 299# extension removed (i.e., equivalently, the names of the test logs, with 300# the '.log' extension removed). The result is saved in the shell variable 301# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, 302# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", 303# since that might cause problem with VPATH rewrites for suffix-less tests. 304# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. 305am__set_TESTS_bases = \ 306 bases='$(TEST_LOGS)'; \ 307 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ 308 bases=`echo $$bases` 309AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)' 310RECHECK_LOGS = $(TEST_LOGS) 311AM_RECURSIVE_TARGETS = check recheck 312TEST_SUITE_LOG = test-suite.log 313TEST_EXTENSIONS = @EXEEXT@ .test 314LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver 315LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) 316am__set_b = \ 317 case '$@' in \ 318 */*) \ 319 case '$*' in \ 320 */*) b='$*';; \ 321 *) b=`echo '$@' | sed 's/\.log$$//'`; \ 322 esac;; \ 323 *) \ 324 b='$*';; \ 325 esac 326am__test_logs1 = $(TESTS:=.log) 327am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) 328TEST_LOGS = $(am__test_logs2:.test.log=.log) 329TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver 330TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ 331 $(TEST_LOG_FLAGS) 332am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/test-driver 333DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 334ACLOCAL = @ACLOCAL@ 335ADMIN_MAN_DIR = @ADMIN_MAN_DIR@ 336ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@ 337AMTAR = @AMTAR@ 338AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 339APP_MAN_DIR = @APP_MAN_DIR@ 340APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ 341AUTOCONF = @AUTOCONF@ 342AUTOHEADER = @AUTOHEADER@ 343AUTOMAKE = @AUTOMAKE@ 344AWK = @AWK@ 345BASE_CFLAGS = @BASE_CFLAGS@ 346CC = @CC@ 347CCDEPMODE = @CCDEPMODE@ 348CFLAGS = @CFLAGS@ 349CHANGELOG_CMD = @CHANGELOG_CMD@ 350CPPFLAGS = @CPPFLAGS@ 351CSCOPE = @CSCOPE@ 352CTAGS = @CTAGS@ 353CWARNFLAGS = @CWARNFLAGS@ 354CYGPATH_W = @CYGPATH_W@ 355DEFS = @DEFS@ 356DEPDIR = @DEPDIR@ 357DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ 358DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ 359ECHO_C = @ECHO_C@ 360ECHO_N = @ECHO_N@ 361ECHO_T = @ECHO_T@ 362ETAGS = @ETAGS@ 363EXEEXT = @EXEEXT@ 364FILE_MAN_DIR = @FILE_MAN_DIR@ 365FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ 366INSTALL = @INSTALL@ 367INSTALL_CMD = @INSTALL_CMD@ 368INSTALL_DATA = @INSTALL_DATA@ 369INSTALL_PROGRAM = @INSTALL_PROGRAM@ 370INSTALL_SCRIPT = @INSTALL_SCRIPT@ 371INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 372LDFLAGS = @LDFLAGS@ 373LIBOBJS = @LIBOBJS@ 374LIBS = @LIBS@ 375LIB_MAN_DIR = @LIB_MAN_DIR@ 376LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ 377LINT = @LINT@ 378LINT_FLAGS = @LINT_FLAGS@ 379LTLIBOBJS = @LTLIBOBJS@ 380MAKEINFO = @MAKEINFO@ 381MAN_SUBSTS = @MAN_SUBSTS@ 382MISC_MAN_DIR = @MISC_MAN_DIR@ 383MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ 384MKDIR_P = @MKDIR_P@ 385OBJEXT = @OBJEXT@ 386PACKAGE = @PACKAGE@ 387PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 388PACKAGE_NAME = @PACKAGE_NAME@ 389PACKAGE_STRING = @PACKAGE_STRING@ 390PACKAGE_TARNAME = @PACKAGE_TARNAME@ 391PACKAGE_URL = @PACKAGE_URL@ 392PACKAGE_VERSION = @PACKAGE_VERSION@ 393PATH_SEPARATOR = @PATH_SEPARATOR@ 394PKG_CONFIG = @PKG_CONFIG@ 395PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ 396PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ 397SED = @SED@ 398SET_MAKE = @SET_MAKE@ 399SHELL = @SHELL@ 400STRICT_CFLAGS = @STRICT_CFLAGS@ 401STRIP = @STRIP@ 402VERSION = @VERSION@ 403XAUTH_CFLAGS = @XAUTH_CFLAGS@ 404XAUTH_LIBS = @XAUTH_LIBS@ 405XORG_MAN_PAGE = @XORG_MAN_PAGE@ 406abs_builddir = @abs_builddir@ 407abs_srcdir = @abs_srcdir@ 408abs_top_builddir = @abs_top_builddir@ 409abs_top_srcdir = @abs_top_srcdir@ 410ac_ct_CC = @ac_ct_CC@ 411am__include = @am__include@ 412am__leading_dot = @am__leading_dot@ 413am__quote = @am__quote@ 414am__rm_f_notfound = @am__rm_f_notfound@ 415am__tar = @am__tar@ 416am__untar = @am__untar@ 417am__xargs_n = @am__xargs_n@ 418bindir = @bindir@ 419build = @build@ 420build_alias = @build_alias@ 421build_cpu = @build_cpu@ 422build_os = @build_os@ 423build_vendor = @build_vendor@ 424builddir = @builddir@ 425datadir = @datadir@ 426datarootdir = @datarootdir@ 427docdir = @docdir@ 428dvidir = @dvidir@ 429exec_prefix = @exec_prefix@ 430host = @host@ 431host_alias = @host_alias@ 432host_cpu = @host_cpu@ 433host_os = @host_os@ 434host_vendor = @host_vendor@ 435htmldir = @htmldir@ 436includedir = @includedir@ 437infodir = @infodir@ 438install_sh = @install_sh@ 439libdir = @libdir@ 440libexecdir = @libexecdir@ 441localedir = @localedir@ 442localstatedir = @localstatedir@ 443mandir = @mandir@ 444mkdir_p = @mkdir_p@ 445oldincludedir = @oldincludedir@ 446pdfdir = @pdfdir@ 447prefix = @prefix@ 448program_transform_name = @program_transform_name@ 449psdir = @psdir@ 450runstatedir = @runstatedir@ 451sbindir = @sbindir@ 452sharedstatedir = @sharedstatedir@ 453srcdir = @srcdir@ 454sysconfdir = @sysconfdir@ 455target_alias = @target_alias@ 456top_build_prefix = @top_build_prefix@ 457top_builddir = @top_builddir@ 458top_srcdir = @top_srcdir@ 459EXTRA_DIST = setup-sourced \ 460 test_xauth \ 461 010-xauth-add-inet.script 010-xauth-add-inet.stdout \ 462 020-xauth-add-local.script 020-xauth-add-local.stdout \ 463 030-xauth-extract.script 030-xauth-extract.stdout \ 464 040-xauth-source.script 040-xauth-source.stdout \ 465 090-xauth-bad-usage.script 090-xauth-bad-usage.stderr 090-xauth-bad-usage.stdout 466 467TESTS = test_xauth 468CLEANFILES = out.stderr out.stdout 469all: all-am 470 471.SUFFIXES: 472.SUFFIXES: .log .test .test$(EXEEXT) .trs 473$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 474 @for dep in $?; do \ 475 case '$(am__configure_deps)' in \ 476 *$$dep*) \ 477 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 478 && { if test -f $@; then exit 0; else break; fi; }; \ 479 exit 1;; \ 480 esac; \ 481 done; \ 482 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \ 483 $(am__cd) $(top_srcdir) && \ 484 $(AUTOMAKE) --foreign tests/Makefile 485Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 486 @case '$?' in \ 487 *config.status*) \ 488 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 489 *) \ 490 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ 491 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ 492 esac; 493 494$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 495 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 496 497$(top_srcdir)/configure: $(am__configure_deps) 498 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 499$(ACLOCAL_M4): $(am__aclocal_m4_deps) 500 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 501$(am__aclocal_m4_deps): 502tags TAGS: 503 504ctags CTAGS: 505 506cscope cscopelist: 507 508 509# Recover from deleted '.trs' file; this should ensure that 510# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create 511# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells 512# to avoid problems with "make -n". 513.log.trs: 514 rm -f $< $@ 515 $(MAKE) $(AM_MAKEFLAGS) $< 516 517# Leading 'am--fnord' is there to ensure the list of targets does not 518# expand to empty, as could happen e.g. with make check TESTS=''. 519am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) 520am--force-recheck: 521 @: 522$(TEST_SUITE_LOG): $(TEST_LOGS) 523 @$(am__set_TESTS_bases); \ 524 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ 525 redo_bases=`for i in $$bases; do \ 526 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ 527 done`; \ 528 if test -n "$$redo_bases"; then \ 529 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ 530 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ 531 if $(am__make_dryrun); then :; else \ 532 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ 533 fi; \ 534 fi; \ 535 if test -n "$$am__remaking_logs"; then \ 536 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ 537 "recursion detected" >&2; \ 538 elif test -n "$$redo_logs"; then \ 539 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ 540 fi; \ 541 if $(am__make_dryrun); then :; else \ 542 st=0; \ 543 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ 544 for i in $$redo_bases; do \ 545 test -f $$i.trs && test -r $$i.trs \ 546 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ 547 test -f $$i.log && test -r $$i.log \ 548 || { echo "$$errmsg $$i.log" >&2; st=1; }; \ 549 done; \ 550 test $$st -eq 0 || exit 1; \ 551 fi 552 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ 553 ws='[ ]'; \ 554 results=`for b in $$bases; do echo $$b.trs; done`; \ 555 test -n "$$results" || results=/dev/null; \ 556 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ 557 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ 558 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ 559 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ 560 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ 561 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ 562 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ 563 if test `expr $$fail + $$xpass + $$error` -eq 0; then \ 564 success=true; \ 565 else \ 566 success=false; \ 567 fi; \ 568 br='==================='; br=$$br$$br$$br$$br; \ 569 result_count () \ 570 { \ 571 if test x"$$1" = x"--maybe-color"; then \ 572 maybe_colorize=yes; \ 573 elif test x"$$1" = x"--no-color"; then \ 574 maybe_colorize=no; \ 575 else \ 576 echo "$@: invalid 'result_count' usage" >&2; exit 4; \ 577 fi; \ 578 shift; \ 579 desc=$$1 count=$$2; \ 580 if test $$maybe_colorize = yes && test $$count -gt 0; then \ 581 color_start=$$3 color_end=$$std; \ 582 else \ 583 color_start= color_end=; \ 584 fi; \ 585 echo "$${color_start}# $$desc $$count$${color_end}"; \ 586 }; \ 587 create_testsuite_report () \ 588 { \ 589 result_count $$1 "TOTAL:" $$all "$$brg"; \ 590 result_count $$1 "PASS: " $$pass "$$grn"; \ 591 result_count $$1 "SKIP: " $$skip "$$blu"; \ 592 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ 593 result_count $$1 "FAIL: " $$fail "$$red"; \ 594 result_count $$1 "XPASS:" $$xpass "$$red"; \ 595 result_count $$1 "ERROR:" $$error "$$mgn"; \ 596 }; \ 597 output_system_information () \ 598 { \ 599 echo; \ 600 { uname -a | $(AWK) '{ \ 601 printf "System information (uname -a):"; \ 602 for (i = 1; i < NF; ++i) \ 603 { \ 604 if (i != 2) \ 605 printf " %s", $$i; \ 606 } \ 607 printf "\n"; \ 608}'; } 2>&1; \ 609 if test -r /etc/os-release; then \ 610 echo "Distribution information (/etc/os-release):"; \ 611 sed 8q /etc/os-release; \ 612 elif test -r /etc/issue; then \ 613 echo "Distribution information (/etc/issue):"; \ 614 cat /etc/issue; \ 615 fi; \ 616 }; \ 617 please_report () \ 618 { \ 619echo "Some test(s) failed. Please report this to $(PACKAGE_BUGREPORT),"; \ 620echo "together with the test-suite.log file (gzipped) and your system"; \ 621echo "information. Thanks."; \ 622 }; \ 623 { \ 624 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ 625 $(am__rst_title); \ 626 create_testsuite_report --no-color; \ 627 output_system_information; \ 628 echo; \ 629 echo ".. contents:: :depth: 2"; \ 630 echo; \ 631 for b in $$bases; do echo $$b; done \ 632 | $(am__create_global_log); \ 633 } >$(TEST_SUITE_LOG).tmp || exit 1; \ 634 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ 635 if $$success; then \ 636 col="$$grn"; \ 637 else \ 638 col="$$red"; \ 639 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ 640 fi; \ 641 echo "$${col}$$br$${std}"; \ 642 echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \ 643 echo "$${col}$$br$${std}"; \ 644 create_testsuite_report --maybe-color; \ 645 echo "$$col$$br$$std"; \ 646 if $$success; then :; else \ 647 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG) for debugging.$${std}";\ 648 if test -n "$(PACKAGE_BUGREPORT)"; then \ 649 please_report | sed -e "s/^/$${col}/" -e s/'$$'/"$${std}"/; \ 650 fi; \ 651 echo "$$col$$br$$std"; \ 652 fi; \ 653 $$success || exit 1 654 655check-TESTS: 656 @$(am__rm_f) $(RECHECK_LOGS) 657 @$(am__rm_f) $(RECHECK_LOGS:.log=.trs) 658 @$(am__rm_f) $(TEST_SUITE_LOG) 659 @set +e; $(am__set_TESTS_bases); \ 660 log_list=`for i in $$bases; do echo $$i.log; done`; \ 661 log_list=`echo $$log_list`; \ 662 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ 663 exit $$?; 664recheck: all 665 @$(am__rm_f) $(TEST_SUITE_LOG) 666 @set +e; $(am__set_TESTS_bases); \ 667 bases=`for i in $$bases; do echo $$i; done \ 668 | $(am__list_recheck_tests)` || exit 1; \ 669 log_list=`for i in $$bases; do echo $$i.log; done`; \ 670 log_list=`echo $$log_list`; \ 671 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ 672 am__force_recheck=am--force-recheck \ 673 TEST_LOGS="$$log_list"; \ 674 exit $$? 675test_xauth.log: test_xauth 676 @p='test_xauth'; \ 677 b='test_xauth'; \ 678 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ 679 --log-file $$b.log --trs-file $$b.trs \ 680 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ 681 "$$tst" $(AM_TESTS_FD_REDIRECT) 682.test.log: 683 @p='$<'; \ 684 $(am__set_b); \ 685 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ 686 --log-file $$b.log --trs-file $$b.trs \ 687 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ 688 "$$tst" $(AM_TESTS_FD_REDIRECT) 689@am__EXEEXT_TRUE@.test$(EXEEXT).log: 690@am__EXEEXT_TRUE@ @p='$<'; \ 691@am__EXEEXT_TRUE@ $(am__set_b); \ 692@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ 693@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ 694@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ 695@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) 696distdir: $(BUILT_SOURCES) 697 $(MAKE) $(AM_MAKEFLAGS) distdir-am 698 699distdir-am: $(DISTFILES) 700 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 701 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 702 list='$(DISTFILES)'; \ 703 dist_files=`for file in $$list; do echo $$file; done | \ 704 sed -e "s|^$$srcdirstrip/||;t" \ 705 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 706 case $$dist_files in \ 707 */*) $(MKDIR_P) `echo "$$dist_files" | \ 708 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 709 sort -u` ;; \ 710 esac; \ 711 for file in $$dist_files; do \ 712 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 713 if test -d $$d/$$file; then \ 714 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 715 if test -d "$(distdir)/$$file"; then \ 716 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 717 fi; \ 718 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 719 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 720 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 721 fi; \ 722 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 723 else \ 724 test -f "$(distdir)/$$file" \ 725 || cp -p $$d/$$file "$(distdir)/$$file" \ 726 || exit 1; \ 727 fi; \ 728 done 729check-am: all-am 730 $(MAKE) $(AM_MAKEFLAGS) check-TESTS 731check: check-am 732all-am: Makefile 733installdirs: 734install: install-am 735install-exec: install-exec-am 736install-data: install-data-am 737uninstall: uninstall-am 738 739install-am: all-am 740 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 741 742installcheck: installcheck-am 743install-strip: 744 if test -z '$(STRIP)'; then \ 745 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 746 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 747 install; \ 748 else \ 749 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 750 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 751 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 752 fi 753mostlyclean-generic: 754 -$(am__rm_f) $(TEST_LOGS) 755 -$(am__rm_f) $(TEST_LOGS:.log=.trs) 756 -$(am__rm_f) $(TEST_SUITE_LOG) 757 758clean-generic: 759 -$(am__rm_f) $(CLEANFILES) 760 761distclean-generic: 762 -$(am__rm_f) $(CONFIG_CLEAN_FILES) 763 -test . = "$(srcdir)" || $(am__rm_f) $(CONFIG_CLEAN_VPATH_FILES) 764 765maintainer-clean-generic: 766 @echo "This command is intended for maintainers to use" 767 @echo "it deletes files that may require special tools to rebuild." 768clean: clean-am 769 770clean-am: clean-generic mostlyclean-am 771 772distclean: distclean-am 773 -rm -f Makefile 774distclean-am: clean-am distclean-generic 775 776dvi: dvi-am 777 778dvi-am: 779 780html: html-am 781 782html-am: 783 784info: info-am 785 786info-am: 787 788install-data-am: 789 790install-dvi: install-dvi-am 791 792install-dvi-am: 793 794install-exec-am: 795 796install-html: install-html-am 797 798install-html-am: 799 800install-info: install-info-am 801 802install-info-am: 803 804install-man: 805 806install-pdf: install-pdf-am 807 808install-pdf-am: 809 810install-ps: install-ps-am 811 812install-ps-am: 813 814installcheck-am: 815 816maintainer-clean: maintainer-clean-am 817 -rm -f Makefile 818maintainer-clean-am: distclean-am maintainer-clean-generic 819 820mostlyclean: mostlyclean-am 821 822mostlyclean-am: mostlyclean-generic 823 824pdf: pdf-am 825 826pdf-am: 827 828ps: ps-am 829 830ps-am: 831 832uninstall-am: 833 834.MAKE: check-am install-am install-strip 835 836.PHONY: all all-am check check-TESTS check-am clean clean-generic \ 837 cscopelist-am ctags-am distclean distclean-generic distdir dvi \ 838 dvi-am html html-am info info-am install install-am \ 839 install-data install-data-am install-dvi install-dvi-am \ 840 install-exec install-exec-am install-html install-html-am \ 841 install-info install-info-am install-man install-pdf \ 842 install-pdf-am install-ps install-ps-am install-strip \ 843 installcheck installcheck-am installdirs maintainer-clean \ 844 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ 845 pdf-am ps ps-am recheck tags-am uninstall uninstall-am 846 847.PRECIOUS: Makefile 848 849 850# Tell versions [3.59,3.63) of GNU make to not export all variables. 851# Otherwise a system limit (for SysV at least) may be exceeded. 852.NOEXPORT: 853 854# Tell GNU make to disable its built-in pattern rules. 855%:: %,v 856%:: RCS/%,v 857%:: RCS/% 858%:: s.% 859%:: SCCS/s.% 860