source: src/tests/preempt_longrun/Makefile.in@ 4084928e

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr no_list persistent-indexer pthread-emulation qualifiedEnum
Last change on this file since 4084928e was 7fb69f6, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Added configure variable for building cfa source in tree

  • Property mode set to 100644
File size: 29.1 KB
Line 
1# Makefile.in generated by automake 1.15 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2014 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@
16
17######################## -*- Mode: Makefile-Automake -*- ######################
18###############################################################################
19VPATH = @srcdir@
20am__is_gnu_make = { \
21 if test -z '$(MAKELEVEL)'; then \
22 false; \
23 elif test -n '$(MAKE_HOST)'; then \
24 true; \
25 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
26 true; \
27 else \
28 false; \
29 fi; \
30}
31am__make_running_with_option = \
32 case $${target_option-} in \
33 ?) ;; \
34 *) echo "am__make_running_with_option: internal error: invalid" \
35 "target option '$${target_option-}' specified" >&2; \
36 exit 1;; \
37 esac; \
38 has_opt=no; \
39 sane_makeflags=$$MAKEFLAGS; \
40 if $(am__is_gnu_make); then \
41 sane_makeflags=$$MFLAGS; \
42 else \
43 case $$MAKEFLAGS in \
44 *\\[\ \ ]*) \
45 bs=\\; \
46 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
47 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
48 esac; \
49 fi; \
50 skip_next=no; \
51 strip_trailopt () \
52 { \
53 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
54 }; \
55 for flg in $$sane_makeflags; do \
56 test $$skip_next = yes && { skip_next=no; continue; }; \
57 case $$flg in \
58 *=*|--*) continue;; \
59 -*I) strip_trailopt 'I'; skip_next=yes;; \
60 -*I?*) strip_trailopt 'I';; \
61 -*O) strip_trailopt 'O'; skip_next=yes;; \
62 -*O?*) strip_trailopt 'O';; \
63 -*l) strip_trailopt 'l'; skip_next=yes;; \
64 -*l?*) strip_trailopt 'l';; \
65 -[dEDm]) skip_next=yes;; \
66 -[JT]) skip_next=yes;; \
67 esac; \
68 case $$flg in \
69 *$$target_option*) has_opt=yes; break;; \
70 esac; \
71 done; \
72 test $$has_opt = yes
73am__make_dryrun = (target_option=n; $(am__make_running_with_option))
74am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
75pkgdatadir = $(datadir)/@PACKAGE@
76pkgincludedir = $(includedir)/@PACKAGE@
77pkglibdir = $(libdir)/@PACKAGE@
78pkglibexecdir = $(libexecdir)/@PACKAGE@
79am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
80install_sh_DATA = $(install_sh) -c -m 644
81install_sh_PROGRAM = $(install_sh) -c
82install_sh_SCRIPT = $(install_sh) -c
83INSTALL_HEADER = $(INSTALL_DATA)
84transform = $(program_transform_name)
85NORMAL_INSTALL = :
86PRE_INSTALL = :
87POST_INSTALL = :
88NORMAL_UNINSTALL = :
89PRE_UNINSTALL = :
90POST_UNINSTALL = :
91build_triplet = @build@
92host_triplet = @host@
93subdir = src/tests/preempt_longrun
94ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
95am__aclocal_m4_deps = $(top_srcdir)/configure.ac
96am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
97 $(ACLOCAL_M4)
98DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
99mkinstalldirs = $(install_sh) -d
100CONFIG_HEADER = $(top_builddir)/config.h
101CONFIG_CLEAN_FILES =
102CONFIG_CLEAN_VPATH_FILES =
103AM_V_P = $(am__v_P_@AM_V@)
104am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
105am__v_P_0 = false
106am__v_P_1 = :
107AM_V_GEN = $(am__v_GEN_@AM_V@)
108am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
109am__v_GEN_0 = @echo " GEN " $@;
110am__v_GEN_1 =
111AM_V_at = $(am__v_at_@AM_V@)
112am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
113am__v_at_0 = @
114am__v_at_1 =
115SOURCES =
116DIST_SOURCES =
117am__can_run_installinfo = \
118 case $$AM_UPDATE_INFO_DIR in \
119 n|no|NO) false;; \
120 *) (install-info --version) >/dev/null 2>&1;; \
121 esac
122am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
123am__tty_colors_dummy = \
124 mgn= red= grn= lgn= blu= brg= std=; \
125 am__color_tests=no
126am__tty_colors = { \
127 $(am__tty_colors_dummy); \
128 if test "X$(AM_COLOR_TESTS)" = Xno; then \
129 am__color_tests=no; \
130 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
131 am__color_tests=yes; \
132 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
133 am__color_tests=yes; \
134 fi; \
135 if test $$am__color_tests = yes; then \
136 red='[0;31m'; \
137 grn='[0;32m'; \
138 lgn='[1;32m'; \
139 blu='[1;34m'; \
140 mgn='[0;35m'; \
141 brg='[1m'; \
142 std='[m'; \
143 fi; \
144}
145am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
146am__vpath_adj = case $$p in \
147 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
148 *) f=$$p;; \
149 esac;
150am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
151am__install_max = 40
152am__nobase_strip_setup = \
153 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
154am__nobase_strip = \
155 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
156am__nobase_list = $(am__nobase_strip_setup); \
157 for p in $$list; do echo "$$p $$p"; done | \
158 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
159 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
160 if (++n[$$2] == $(am__install_max)) \
161 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
162 END { for (dir in files) print dir, files[dir] }'
163am__base_list = \
164 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
165 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
166am__uninstall_files_from_dir = { \
167 test -z "$$files" \
168 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
169 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
170 $(am__cd) "$$dir" && rm -f $$files; }; \
171 }
172am__recheck_rx = ^[ ]*:recheck:[ ]*
173am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
174am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
175# A command that, given a newline-separated list of test names on the
176# standard input, print the name of the tests that are to be re-run
177# upon "make recheck".
178am__list_recheck_tests = $(AWK) '{ \
179 recheck = 1; \
180 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
181 { \
182 if (rc < 0) \
183 { \
184 if ((getline line2 < ($$0 ".log")) < 0) \
185 recheck = 0; \
186 break; \
187 } \
188 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
189 { \
190 recheck = 0; \
191 break; \
192 } \
193 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
194 { \
195 break; \
196 } \
197 }; \
198 if (recheck) \
199 print $$0; \
200 close ($$0 ".trs"); \
201 close ($$0 ".log"); \
202}'
203# A command that, given a newline-separated list of test names on the
204# standard input, create the global log from their .trs and .log files.
205am__create_global_log = $(AWK) ' \
206function fatal(msg) \
207{ \
208 print "fatal: making $@: " msg | "cat >&2"; \
209 exit 1; \
210} \
211function rst_section(header) \
212{ \
213 print header; \
214 len = length(header); \
215 for (i = 1; i <= len; i = i + 1) \
216 printf "="; \
217 printf "\n\n"; \
218} \
219{ \
220 copy_in_global_log = 1; \
221 global_test_result = "RUN"; \
222 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
223 { \
224 if (rc < 0) \
225 fatal("failed to read from " $$0 ".trs"); \
226 if (line ~ /$(am__global_test_result_rx)/) \
227 { \
228 sub("$(am__global_test_result_rx)", "", line); \
229 sub("[ ]*$$", "", line); \
230 global_test_result = line; \
231 } \
232 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
233 copy_in_global_log = 0; \
234 }; \
235 if (copy_in_global_log) \
236 { \
237 rst_section(global_test_result ": " $$0); \
238 while ((rc = (getline line < ($$0 ".log"))) != 0) \
239 { \
240 if (rc < 0) \
241 fatal("failed to read from " $$0 ".log"); \
242 print line; \
243 }; \
244 printf "\n"; \
245 }; \
246 close ($$0 ".trs"); \
247 close ($$0 ".log"); \
248}'
249# Restructured Text title.
250am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
251# Solaris 10 'make', and several other traditional 'make' implementations,
252# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
253# by disabling -e (using the XSI extension "set +e") if it's set.
254am__sh_e_setup = case $$- in *e*) set +e;; esac
255# Default flags passed to test drivers.
256am__common_driver_flags = \
257 --color-tests "$$am__color_tests" \
258 --enable-hard-errors "$$am__enable_hard_errors" \
259 --expect-failure "$$am__expect_failure"
260# To be inserted before the command running the test. Creates the
261# directory for the log if needed. Stores in $dir the directory
262# containing $f, in $tst the test, in $log the log. Executes the
263# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
264# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
265# will run the test scripts (or their associated LOG_COMPILER, if
266# thy have one).
267am__check_pre = \
268$(am__sh_e_setup); \
269$(am__vpath_adj_setup) $(am__vpath_adj) \
270$(am__tty_colors); \
271srcdir=$(srcdir); export srcdir; \
272case "$@" in \
273 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
274 *) am__odir=.;; \
275esac; \
276test "x$$am__odir" = x"." || test -d "$$am__odir" \
277 || $(MKDIR_P) "$$am__odir" || exit $$?; \
278if test -f "./$$f"; then dir=./; \
279elif test -f "$$f"; then dir=; \
280else dir="$(srcdir)/"; fi; \
281tst=$$dir$$f; log='$@'; \
282if test -n '$(DISABLE_HARD_ERRORS)'; then \
283 am__enable_hard_errors=no; \
284else \
285 am__enable_hard_errors=yes; \
286fi; \
287case " $(XFAIL_TESTS) " in \
288 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
289 am__expect_failure=yes;; \
290 *) \
291 am__expect_failure=no;; \
292esac; \
293$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
294# A shell command to get the names of the tests scripts with any registered
295# extension removed (i.e., equivalently, the names of the test logs, with
296# the '.log' extension removed). The result is saved in the shell variable
297# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
298# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
299# since that might cause problem with VPATH rewrites for suffix-less tests.
300# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
301am__set_TESTS_bases = \
302 bases='$(TEST_LOGS)'; \
303 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
304 bases=`echo $$bases`
305RECHECK_LOGS = $(TEST_LOGS)
306AM_RECURSIVE_TARGETS = check recheck
307TEST_SUITE_LOG = test-suite.log
308TEST_EXTENSIONS = @EXEEXT@ .test
309LOG_DRIVER = $(SHELL) $(top_srcdir)/automake/test-driver
310LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
311am__set_b = \
312 case '$@' in \
313 */*) \
314 case '$*' in \
315 */*) b='$*';; \
316 *) b=`echo '$@' | sed 's/\.log$$//'`; \
317 esac;; \
318 *) \
319 b='$*';; \
320 esac
321am__test_logs1 = $(TESTS:=.log)
322am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
323TEST_LOGS = $(am__test_logs2:.test.log=.log)
324TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/automake/test-driver
325TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
326 $(TEST_LOG_FLAGS)
327am__DIST_COMMON = $(srcdir)/Makefile.in \
328 $(top_srcdir)/automake/test-driver
329DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
330ACLOCAL = @ACLOCAL@
331ALLOCA = @ALLOCA@
332AMTAR = @AMTAR@
333AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
334AUTOCONF = @AUTOCONF@
335AUTOHEADER = @AUTOHEADER@
336AUTOMAKE = @AUTOMAKE@
337AWK = @AWK@
338BACKEND_CC = @BACKEND_CC@
339BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
340BUILD_IN_TREE_FLAGS_NOLIB = @BUILD_IN_TREE_FLAGS_NOLIB@
341CC = @CFACC@
342CCAS = @CCAS@
343CCASDEPMODE = @CCASDEPMODE@
344CCASFLAGS = @CCASFLAGS@
345CCDEPMODE = @CCDEPMODE@
346CFACC = @CFACC@
347CFACPP = @CFACPP@
348CFA_BACKEND_CC = @CFA_BACKEND_CC@
349CFA_BINDIR = @CFA_BINDIR@
350CFA_FLAGS = @CFA_FLAGS@
351CFA_INCDIR = @CFA_INCDIR@
352CFA_LIBDIR = @CFA_LIBDIR@
353CFA_NAME = @CFA_NAME@
354CFA_PREFIX = @CFA_PREFIX@
355CFLAGS = ${BUILD_FLAGS}
356CPP = @CPP@
357CPPFLAGS = @CPPFLAGS@
358CXX = @CXX@
359CXXDEPMODE = @CXXDEPMODE@
360CXXFLAGS = @CXXFLAGS@
361CYGPATH_W = @CYGPATH_W@
362DEFS = @DEFS@
363DEPDIR = @DEPDIR@
364DRIVER_DIR = @DRIVER_DIR@
365ECHO_C = @ECHO_C@
366ECHO_N = @ECHO_N@
367ECHO_T = @ECHO_T@
368EGREP = @EGREP@
369EXEEXT = @EXEEXT@
370GREP = @GREP@
371INSTALL = @INSTALL@
372INSTALL_DATA = @INSTALL_DATA@
373INSTALL_PROGRAM = @INSTALL_PROGRAM@
374INSTALL_SCRIPT = @INSTALL_SCRIPT@
375INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
376LDFLAGS = @LDFLAGS@
377LEX = @LEX@
378LEXLIB = @LEXLIB@
379LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
380LIBOBJS = @LIBOBJS@
381LIBS = @LIBS@
382LTLIBOBJS = @LTLIBOBJS@
383MACHINE_TYPE = @MACHINE_TYPE@
384MAKEINFO = @MAKEINFO@
385MKDIR_P = @MKDIR_P@
386OBJEXT = @OBJEXT@
387PACKAGE = @PACKAGE@
388PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
389PACKAGE_NAME = @PACKAGE_NAME@
390PACKAGE_STRING = @PACKAGE_STRING@
391PACKAGE_TARNAME = @PACKAGE_TARNAME@
392PACKAGE_URL = @PACKAGE_URL@
393PACKAGE_VERSION = @PACKAGE_VERSION@
394PATH_SEPARATOR = @PATH_SEPARATOR@
395RANLIB = @RANLIB@
396SET_MAKE = @SET_MAKE@
397SHELL = @SHELL@
398STRIP = @STRIP@
399VERSION = @VERSION@
400YACC = @YACC@
401YFLAGS = @YFLAGS@
402abs_builddir = @abs_builddir@
403abs_srcdir = @abs_srcdir@
404abs_top_builddir = @abs_top_builddir@
405abs_top_srcdir = @abs_top_srcdir@
406ac_ct_CC = @ac_ct_CC@
407ac_ct_CXX = @ac_ct_CXX@
408am__include = @am__include@
409am__leading_dot = @am__leading_dot@
410am__quote = @am__quote@
411am__tar = @am__tar@
412am__untar = @am__untar@
413bindir = @bindir@
414build = @build@
415build_alias = @build_alias@
416build_cpu = @build_cpu@
417build_os = @build_os@
418build_vendor = @build_vendor@
419builddir = @builddir@
420datadir = @datadir@
421datarootdir = @datarootdir@
422docdir = @docdir@
423dvidir = @dvidir@
424exec_prefix = @exec_prefix@
425host = @host@
426host_alias = @host_alias@
427host_cpu = @host_cpu@
428host_os = @host_os@
429host_vendor = @host_vendor@
430htmldir = @htmldir@
431includedir = @includedir@
432infodir = @infodir@
433install_sh = @install_sh@
434libdir = @libdir@
435libexecdir = @libexecdir@
436localedir = @localedir@
437localstatedir = @localstatedir@
438mandir = @mandir@
439mkdir_p = @mkdir_p@
440oldincludedir = @oldincludedir@
441pdfdir = @pdfdir@
442prefix = @prefix@
443program_transform_name = @program_transform_name@
444psdir = @psdir@
445runstatedir = @runstatedir@
446sbindir = @sbindir@
447sharedstatedir = @sharedstatedir@
448srcdir = @srcdir@
449sysconfdir = @sysconfdir@
450target_alias = @target_alias@
451top_build_prefix = @top_build_prefix@
452top_builddir = @top_builddir@
453top_srcdir = @top_srcdir@
454repeats = 10
455max_time = 600
456preempt = 10ul\`ms
457debug = -debug
458type = LONG
459REPEAT = ${abs_top_srcdir}/tools/repeat
460WATCHDOG = ${abs_top_srcdir}/tools/watchdog
461TIME = /usr/bin/time -f "%E"
462
463# $(shell ./update-type $(type))
464# ./update-type $(type)
465UPDATED_TYPE = $(shell ./update-type $(type))
466BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell cat .type | tr a-z A-Z)
467TESTS = block coroutine create disjoint enter enter3 processor stack wait yield
468all: all-am
469
470.SUFFIXES:
471.SUFFIXES: .log .test .test$(EXEEXT) .trs
472$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
473 @for dep in $?; do \
474 case '$(am__configure_deps)' in \
475 *$$dep*) \
476 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
477 && { if test -f $@; then exit 0; else break; fi; }; \
478 exit 1;; \
479 esac; \
480 done; \
481 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/tests/preempt_longrun/Makefile'; \
482 $(am__cd) $(top_srcdir) && \
483 $(AUTOMAKE) --foreign src/tests/preempt_longrun/Makefile
484Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
485 @case '$?' in \
486 *config.status*) \
487 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
488 *) \
489 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
490 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
491 esac;
492
493$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
494 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
495
496$(top_srcdir)/configure: $(am__configure_deps)
497 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
498$(ACLOCAL_M4): $(am__aclocal_m4_deps)
499 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
500$(am__aclocal_m4_deps):
501tags TAGS:
502
503ctags CTAGS:
504
505cscope cscopelist:
506
507
508# Recover from deleted '.trs' file; this should ensure that
509# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
510# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
511# to avoid problems with "make -n".
512.log.trs:
513 rm -f $< $@
514 $(MAKE) $(AM_MAKEFLAGS) $<
515
516# Leading 'am--fnord' is there to ensure the list of targets does not
517# expand to empty, as could happen e.g. with make check TESTS=''.
518am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
519am--force-recheck:
520 @:
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 { \
598 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
599 $(am__rst_title); \
600 create_testsuite_report --no-color; \
601 echo; \
602 echo ".. contents:: :depth: 2"; \
603 echo; \
604 for b in $$bases; do echo $$b; done \
605 | $(am__create_global_log); \
606 } >$(TEST_SUITE_LOG).tmp || exit 1; \
607 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
608 if $$success; then \
609 col="$$grn"; \
610 else \
611 col="$$red"; \
612 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
613 fi; \
614 echo "$${col}$$br$${std}"; \
615 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
616 echo "$${col}$$br$${std}"; \
617 create_testsuite_report --maybe-color; \
618 echo "$$col$$br$$std"; \
619 if $$success; then :; else \
620 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
621 if test -n "$(PACKAGE_BUGREPORT)"; then \
622 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
623 fi; \
624 echo "$$col$$br$$std"; \
625 fi; \
626 $$success || exit 1
627
628check-TESTS:
629 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
630 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
631 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
632 @set +e; $(am__set_TESTS_bases); \
633 log_list=`for i in $$bases; do echo $$i.log; done`; \
634 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
635 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
636 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
637 exit $$?;
638recheck: all
639 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
640 @set +e; $(am__set_TESTS_bases); \
641 bases=`for i in $$bases; do echo $$i; done \
642 | $(am__list_recheck_tests)` || exit 1; \
643 log_list=`for i in $$bases; do echo $$i.log; done`; \
644 log_list=`echo $$log_list`; \
645 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
646 am__force_recheck=am--force-recheck \
647 TEST_LOGS="$$log_list"; \
648 exit $$?
649block.log: block
650 @p='block'; \
651 b='block'; \
652 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
653 --log-file $$b.log --trs-file $$b.trs \
654 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
655 "$$tst" $(AM_TESTS_FD_REDIRECT)
656coroutine.log: coroutine
657 @p='coroutine'; \
658 b='coroutine'; \
659 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
660 --log-file $$b.log --trs-file $$b.trs \
661 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
662 "$$tst" $(AM_TESTS_FD_REDIRECT)
663create.log: create
664 @p='create'; \
665 b='create'; \
666 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
667 --log-file $$b.log --trs-file $$b.trs \
668 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
669 "$$tst" $(AM_TESTS_FD_REDIRECT)
670disjoint.log: disjoint
671 @p='disjoint'; \
672 b='disjoint'; \
673 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
674 --log-file $$b.log --trs-file $$b.trs \
675 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
676 "$$tst" $(AM_TESTS_FD_REDIRECT)
677enter.log: enter
678 @p='enter'; \
679 b='enter'; \
680 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
681 --log-file $$b.log --trs-file $$b.trs \
682 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
683 "$$tst" $(AM_TESTS_FD_REDIRECT)
684enter3.log: enter3
685 @p='enter3'; \
686 b='enter3'; \
687 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
688 --log-file $$b.log --trs-file $$b.trs \
689 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
690 "$$tst" $(AM_TESTS_FD_REDIRECT)
691processor.log: processor
692 @p='processor'; \
693 b='processor'; \
694 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
695 --log-file $$b.log --trs-file $$b.trs \
696 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
697 "$$tst" $(AM_TESTS_FD_REDIRECT)
698stack.log: stack
699 @p='stack'; \
700 b='stack'; \
701 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
702 --log-file $$b.log --trs-file $$b.trs \
703 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
704 "$$tst" $(AM_TESTS_FD_REDIRECT)
705wait.log: wait
706 @p='wait'; \
707 b='wait'; \
708 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
709 --log-file $$b.log --trs-file $$b.trs \
710 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
711 "$$tst" $(AM_TESTS_FD_REDIRECT)
712yield.log: yield
713 @p='yield'; \
714 b='yield'; \
715 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
716 --log-file $$b.log --trs-file $$b.trs \
717 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
718 "$$tst" $(AM_TESTS_FD_REDIRECT)
719.test.log:
720 @p='$<'; \
721 $(am__set_b); \
722 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
723 --log-file $$b.log --trs-file $$b.trs \
724 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
725 "$$tst" $(AM_TESTS_FD_REDIRECT)
726@am__EXEEXT_TRUE@.test$(EXEEXT).log:
727@am__EXEEXT_TRUE@ @p='$<'; \
728@am__EXEEXT_TRUE@ $(am__set_b); \
729@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
730@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
731@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
732@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
733
734distdir: $(DISTFILES)
735 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
736 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
737 list='$(DISTFILES)'; \
738 dist_files=`for file in $$list; do echo $$file; done | \
739 sed -e "s|^$$srcdirstrip/||;t" \
740 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
741 case $$dist_files in \
742 */*) $(MKDIR_P) `echo "$$dist_files" | \
743 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
744 sort -u` ;; \
745 esac; \
746 for file in $$dist_files; do \
747 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
748 if test -d $$d/$$file; then \
749 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
750 if test -d "$(distdir)/$$file"; then \
751 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
752 fi; \
753 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
754 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
755 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
756 fi; \
757 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
758 else \
759 test -f "$(distdir)/$$file" \
760 || cp -p $$d/$$file "$(distdir)/$$file" \
761 || exit 1; \
762 fi; \
763 done
764check-am: all-am
765 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
766check: check-am
767all-am: Makefile all-local
768installdirs:
769install: install-am
770install-exec: install-exec-am
771install-data: install-data-am
772uninstall: uninstall-am
773
774install-am: all-am
775 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
776
777installcheck: installcheck-am
778install-strip:
779 if test -z '$(STRIP)'; then \
780 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
781 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
782 install; \
783 else \
784 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
785 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
786 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
787 fi
788mostlyclean-generic:
789 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
790 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
791 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
792
793clean-generic:
794
795distclean-generic:
796 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
797 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
798
799maintainer-clean-generic:
800 @echo "This command is intended for maintainers to use"
801 @echo "it deletes files that may require special tools to rebuild."
802clean: clean-am
803
804clean-am: clean-generic clean-local mostlyclean-am
805
806distclean: distclean-am
807 -rm -f Makefile
808distclean-am: clean-am distclean-generic
809
810dvi: dvi-am
811
812dvi-am:
813
814html: html-am
815
816html-am:
817
818info: info-am
819
820info-am:
821
822install-data-am:
823
824install-dvi: install-dvi-am
825
826install-dvi-am:
827
828install-exec-am:
829
830install-html: install-html-am
831
832install-html-am:
833
834install-info: install-info-am
835
836install-info-am:
837
838install-man:
839
840install-pdf: install-pdf-am
841
842install-pdf-am:
843
844install-ps: install-ps-am
845
846install-ps-am:
847
848installcheck-am:
849
850maintainer-clean: maintainer-clean-am
851 -rm -f Makefile
852maintainer-clean-am: distclean-am maintainer-clean-generic
853
854mostlyclean: mostlyclean-am
855
856mostlyclean-am: mostlyclean-generic
857
858pdf: pdf-am
859
860pdf-am:
861
862ps: ps-am
863
864ps-am:
865
866uninstall-am:
867
868.MAKE: check-am install-am install-strip
869
870.PHONY: all all-am all-local check check-TESTS check-am clean \
871 clean-generic clean-local cscopelist-am ctags-am distclean \
872 distclean-generic distdir dvi dvi-am html html-am info info-am \
873 install install-am install-data install-data-am install-dvi \
874 install-dvi-am install-exec install-exec-am install-html \
875 install-html-am install-info install-info-am install-man \
876 install-pdf install-pdf-am install-ps install-ps-am \
877 install-strip installcheck installcheck-am installdirs \
878 maintainer-clean maintainer-clean-generic mostlyclean \
879 mostlyclean-generic pdf pdf-am ps ps-am recheck tags-am \
880 uninstall uninstall-am
881
882.PRECIOUS: Makefile
883
884
885# .INTERMEDIATE: ${TESTS}
886
887all-local: ${TESTS:=.run}
888
889runall : ${TESTS:=.run}
890 @ echo "All programs terminated normally"
891
892watchall : ${TESTS:=.watch}
893 @ echo "All programs terminated normally"
894
895compileall : ${TESTS}
896 @ echo "Compiled"
897
898clean-local:
899 rm -f ${TESTS} core* out.log .type
900
901% : %.c ${CC} ${UPDATED_TYPE}
902 ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug) -o ${@}
903
904%.run : % ${REPEAT}
905 @ time ${REPEAT} -r out.log -i -s $(repeats) timeout ${max_time} ./${<}
906 @ rm ${<}
907 @ echo -e "${<}: SUCCESS\n"
908
909%.watch : % ${WATCHDOG}
910 @ time ${WATCHDOG} ./${<}
911 @ rm ${<}
912 @ echo -e "${<}: SUCCESS\n"
913
914%.time : % ${REPEAT}
915 @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<}
916 @ rm ${<}
917 @ echo -e "${<}: SUCCESS\n"
918
919${REPEAT}: ${abs_top_srcdir}/tools/Makefile
920 @+make -C ${abs_top_srcdir}/tools/
921
922${WATCHDOG}: ${abs_top_srcdir}/tools/Makefile
923 @+make -C ${abs_top_srcdir}/tools/
924
925# Tell versions [3.59,3.63) of GNU make to not export all variables.
926# Otherwise a system limit (for SysV at least) may be exceeded.
927.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.