source: src/tests/preempt_longrun/Makefile.in@ a8615fd1

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 a8615fd1 was d35e796, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Fixed depencies of long tests based on type

  • Property mode set to 100644
File size: 29.0 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@
339CC = @CFA_BINDIR@/@CFA_NAME@
340CCAS = @CCAS@
341CCASDEPMODE = @CCASDEPMODE@
342CCASFLAGS = @CCASFLAGS@
343CCDEPMODE = @CCDEPMODE@
344CFA_BACKEND_CC = @CFA_BACKEND_CC@
345CFA_BINDIR = @CFA_BINDIR@
346CFA_FLAGS = @CFA_FLAGS@
347CFA_INCDIR = @CFA_INCDIR@
348CFA_LIBDIR = @CFA_LIBDIR@
349CFA_NAME = @CFA_NAME@
350CFA_PREFIX = @CFA_PREFIX@
351CFLAGS = ${BUILD_FLAGS}
352CPP = @CPP@
353CPPFLAGS = @CPPFLAGS@
354CXX = @CXX@
355CXXDEPMODE = @CXXDEPMODE@
356CXXFLAGS = @CXXFLAGS@
357CYGPATH_W = @CYGPATH_W@
358DEFS = @DEFS@
359DEPDIR = @DEPDIR@
360ECHO_C = @ECHO_C@
361ECHO_N = @ECHO_N@
362ECHO_T = @ECHO_T@
363EGREP = @EGREP@
364EXEEXT = @EXEEXT@
365GREP = @GREP@
366INSTALL = @INSTALL@
367INSTALL_DATA = @INSTALL_DATA@
368INSTALL_PROGRAM = @INSTALL_PROGRAM@
369INSTALL_SCRIPT = @INSTALL_SCRIPT@
370INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
371LDFLAGS = @LDFLAGS@
372LEX = @LEX@
373LEXLIB = @LEXLIB@
374LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
375LIBOBJS = @LIBOBJS@
376LIBS = @LIBS@
377LTLIBOBJS = @LTLIBOBJS@
378MACHINE_TYPE = @MACHINE_TYPE@
379MAINT = @MAINT@
380MAKEINFO = @MAKEINFO@
381MKDIR_P = @MKDIR_P@
382OBJEXT = @OBJEXT@
383PACKAGE = @PACKAGE@
384PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
385PACKAGE_NAME = @PACKAGE_NAME@
386PACKAGE_STRING = @PACKAGE_STRING@
387PACKAGE_TARNAME = @PACKAGE_TARNAME@
388PACKAGE_URL = @PACKAGE_URL@
389PACKAGE_VERSION = @PACKAGE_VERSION@
390PATH_SEPARATOR = @PATH_SEPARATOR@
391RANLIB = @RANLIB@
392SET_MAKE = @SET_MAKE@
393SHELL = @SHELL@
394STRIP = @STRIP@
395VERSION = @VERSION@
396YACC = @YACC@
397YFLAGS = @YFLAGS@
398abs_builddir = @abs_builddir@
399abs_srcdir = @abs_srcdir@
400abs_top_builddir = @abs_top_builddir@
401abs_top_srcdir = @abs_top_srcdir@
402ac_ct_CC = @ac_ct_CC@
403ac_ct_CXX = @ac_ct_CXX@
404am__include = @am__include@
405am__leading_dot = @am__leading_dot@
406am__quote = @am__quote@
407am__tar = @am__tar@
408am__untar = @am__untar@
409bindir = @bindir@
410build = @build@
411build_alias = @build_alias@
412build_cpu = @build_cpu@
413build_os = @build_os@
414build_vendor = @build_vendor@
415builddir = @builddir@
416datadir = @datadir@
417datarootdir = @datarootdir@
418docdir = @docdir@
419dvidir = @dvidir@
420exec_prefix = @exec_prefix@
421host = @host@
422host_alias = @host_alias@
423host_cpu = @host_cpu@
424host_os = @host_os@
425host_vendor = @host_vendor@
426htmldir = @htmldir@
427includedir = @includedir@
428infodir = @infodir@
429install_sh = @install_sh@
430libdir = @libdir@
431libexecdir = @libexecdir@
432localedir = @localedir@
433localstatedir = @localstatedir@
434mandir = @mandir@
435mkdir_p = @mkdir_p@
436oldincludedir = @oldincludedir@
437pdfdir = @pdfdir@
438prefix = @prefix@
439program_transform_name = @program_transform_name@
440psdir = @psdir@
441runstatedir = @runstatedir@
442sbindir = @sbindir@
443sharedstatedir = @sharedstatedir@
444srcdir = @srcdir@
445sysconfdir = @sysconfdir@
446target_alias = @target_alias@
447top_build_prefix = @top_build_prefix@
448top_builddir = @top_builddir@
449top_srcdir = @top_srcdir@
450repeats = 10
451max_time = 600
452preempt = 10ul\`ms
453debug = -debug
454type = LONG
455REPEAT = ${abs_top_srcdir}/tools/repeat
456WATCHDOG = ${abs_top_srcdir}/tools/watchdog
457TIME = /usr/bin/time -f "%E"
458
459# $(shell ./update-type $(type))
460# ./update-type $(type)
461UPDATED_TYPE = $(shell ./update-type $(type))
462BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell cat .type | tr a-z A-Z)
463TESTS = block coroutine create disjoint enter enter3 processor stack wait yield
464all: all-am
465
466.SUFFIXES:
467.SUFFIXES: .log .test .test$(EXEEXT) .trs
468$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
469 @for dep in $?; do \
470 case '$(am__configure_deps)' in \
471 *$$dep*) \
472 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
473 && { if test -f $@; then exit 0; else break; fi; }; \
474 exit 1;; \
475 esac; \
476 done; \
477 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/tests/preempt_longrun/Makefile'; \
478 $(am__cd) $(top_srcdir) && \
479 $(AUTOMAKE) --foreign src/tests/preempt_longrun/Makefile
480Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
481 @case '$?' in \
482 *config.status*) \
483 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
484 *) \
485 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
486 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
487 esac;
488
489$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
490 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
491
492$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
493 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
494$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
495 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
496$(am__aclocal_m4_deps):
497tags TAGS:
498
499ctags CTAGS:
500
501cscope cscopelist:
502
503
504# Recover from deleted '.trs' file; this should ensure that
505# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
506# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
507# to avoid problems with "make -n".
508.log.trs:
509 rm -f $< $@
510 $(MAKE) $(AM_MAKEFLAGS) $<
511
512# Leading 'am--fnord' is there to ensure the list of targets does not
513# expand to empty, as could happen e.g. with make check TESTS=''.
514am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
515am--force-recheck:
516 @:
517
518$(TEST_SUITE_LOG): $(TEST_LOGS)
519 @$(am__set_TESTS_bases); \
520 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
521 redo_bases=`for i in $$bases; do \
522 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
523 done`; \
524 if test -n "$$redo_bases"; then \
525 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
526 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
527 if $(am__make_dryrun); then :; else \
528 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
529 fi; \
530 fi; \
531 if test -n "$$am__remaking_logs"; then \
532 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
533 "recursion detected" >&2; \
534 elif test -n "$$redo_logs"; then \
535 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
536 fi; \
537 if $(am__make_dryrun); then :; else \
538 st=0; \
539 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
540 for i in $$redo_bases; do \
541 test -f $$i.trs && test -r $$i.trs \
542 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
543 test -f $$i.log && test -r $$i.log \
544 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
545 done; \
546 test $$st -eq 0 || exit 1; \
547 fi
548 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
549 ws='[ ]'; \
550 results=`for b in $$bases; do echo $$b.trs; done`; \
551 test -n "$$results" || results=/dev/null; \
552 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
553 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
554 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
555 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
556 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
557 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
558 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
559 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
560 success=true; \
561 else \
562 success=false; \
563 fi; \
564 br='==================='; br=$$br$$br$$br$$br; \
565 result_count () \
566 { \
567 if test x"$$1" = x"--maybe-color"; then \
568 maybe_colorize=yes; \
569 elif test x"$$1" = x"--no-color"; then \
570 maybe_colorize=no; \
571 else \
572 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
573 fi; \
574 shift; \
575 desc=$$1 count=$$2; \
576 if test $$maybe_colorize = yes && test $$count -gt 0; then \
577 color_start=$$3 color_end=$$std; \
578 else \
579 color_start= color_end=; \
580 fi; \
581 echo "$${color_start}# $$desc $$count$${color_end}"; \
582 }; \
583 create_testsuite_report () \
584 { \
585 result_count $$1 "TOTAL:" $$all "$$brg"; \
586 result_count $$1 "PASS: " $$pass "$$grn"; \
587 result_count $$1 "SKIP: " $$skip "$$blu"; \
588 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
589 result_count $$1 "FAIL: " $$fail "$$red"; \
590 result_count $$1 "XPASS:" $$xpass "$$red"; \
591 result_count $$1 "ERROR:" $$error "$$mgn"; \
592 }; \
593 { \
594 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
595 $(am__rst_title); \
596 create_testsuite_report --no-color; \
597 echo; \
598 echo ".. contents:: :depth: 2"; \
599 echo; \
600 for b in $$bases; do echo $$b; done \
601 | $(am__create_global_log); \
602 } >$(TEST_SUITE_LOG).tmp || exit 1; \
603 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
604 if $$success; then \
605 col="$$grn"; \
606 else \
607 col="$$red"; \
608 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
609 fi; \
610 echo "$${col}$$br$${std}"; \
611 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
612 echo "$${col}$$br$${std}"; \
613 create_testsuite_report --maybe-color; \
614 echo "$$col$$br$$std"; \
615 if $$success; then :; else \
616 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
617 if test -n "$(PACKAGE_BUGREPORT)"; then \
618 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
619 fi; \
620 echo "$$col$$br$$std"; \
621 fi; \
622 $$success || exit 1
623
624check-TESTS:
625 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
626 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
627 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
628 @set +e; $(am__set_TESTS_bases); \
629 log_list=`for i in $$bases; do echo $$i.log; done`; \
630 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
631 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
632 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
633 exit $$?;
634recheck: all
635 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
636 @set +e; $(am__set_TESTS_bases); \
637 bases=`for i in $$bases; do echo $$i; done \
638 | $(am__list_recheck_tests)` || exit 1; \
639 log_list=`for i in $$bases; do echo $$i.log; done`; \
640 log_list=`echo $$log_list`; \
641 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
642 am__force_recheck=am--force-recheck \
643 TEST_LOGS="$$log_list"; \
644 exit $$?
645block.log: block
646 @p='block'; \
647 b='block'; \
648 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
649 --log-file $$b.log --trs-file $$b.trs \
650 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
651 "$$tst" $(AM_TESTS_FD_REDIRECT)
652coroutine.log: coroutine
653 @p='coroutine'; \
654 b='coroutine'; \
655 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
656 --log-file $$b.log --trs-file $$b.trs \
657 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
658 "$$tst" $(AM_TESTS_FD_REDIRECT)
659create.log: create
660 @p='create'; \
661 b='create'; \
662 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
663 --log-file $$b.log --trs-file $$b.trs \
664 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
665 "$$tst" $(AM_TESTS_FD_REDIRECT)
666disjoint.log: disjoint
667 @p='disjoint'; \
668 b='disjoint'; \
669 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
670 --log-file $$b.log --trs-file $$b.trs \
671 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
672 "$$tst" $(AM_TESTS_FD_REDIRECT)
673enter.log: enter
674 @p='enter'; \
675 b='enter'; \
676 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
677 --log-file $$b.log --trs-file $$b.trs \
678 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
679 "$$tst" $(AM_TESTS_FD_REDIRECT)
680enter3.log: enter3
681 @p='enter3'; \
682 b='enter3'; \
683 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
684 --log-file $$b.log --trs-file $$b.trs \
685 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
686 "$$tst" $(AM_TESTS_FD_REDIRECT)
687processor.log: processor
688 @p='processor'; \
689 b='processor'; \
690 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
691 --log-file $$b.log --trs-file $$b.trs \
692 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
693 "$$tst" $(AM_TESTS_FD_REDIRECT)
694stack.log: stack
695 @p='stack'; \
696 b='stack'; \
697 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
698 --log-file $$b.log --trs-file $$b.trs \
699 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
700 "$$tst" $(AM_TESTS_FD_REDIRECT)
701wait.log: wait
702 @p='wait'; \
703 b='wait'; \
704 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
705 --log-file $$b.log --trs-file $$b.trs \
706 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
707 "$$tst" $(AM_TESTS_FD_REDIRECT)
708yield.log: yield
709 @p='yield'; \
710 b='yield'; \
711 $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
712 --log-file $$b.log --trs-file $$b.trs \
713 $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
714 "$$tst" $(AM_TESTS_FD_REDIRECT)
715.test.log:
716 @p='$<'; \
717 $(am__set_b); \
718 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
719 --log-file $$b.log --trs-file $$b.trs \
720 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
721 "$$tst" $(AM_TESTS_FD_REDIRECT)
722@am__EXEEXT_TRUE@.test$(EXEEXT).log:
723@am__EXEEXT_TRUE@ @p='$<'; \
724@am__EXEEXT_TRUE@ $(am__set_b); \
725@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
726@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
727@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
728@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
729
730distdir: $(DISTFILES)
731 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
732 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
733 list='$(DISTFILES)'; \
734 dist_files=`for file in $$list; do echo $$file; done | \
735 sed -e "s|^$$srcdirstrip/||;t" \
736 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
737 case $$dist_files in \
738 */*) $(MKDIR_P) `echo "$$dist_files" | \
739 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
740 sort -u` ;; \
741 esac; \
742 for file in $$dist_files; do \
743 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
744 if test -d $$d/$$file; then \
745 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
746 if test -d "$(distdir)/$$file"; then \
747 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
748 fi; \
749 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
750 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
751 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
752 fi; \
753 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
754 else \
755 test -f "$(distdir)/$$file" \
756 || cp -p $$d/$$file "$(distdir)/$$file" \
757 || exit 1; \
758 fi; \
759 done
760check-am: all-am
761 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
762check: check-am
763all-am: Makefile all-local
764installdirs:
765install: install-am
766install-exec: install-exec-am
767install-data: install-data-am
768uninstall: uninstall-am
769
770install-am: all-am
771 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
772
773installcheck: installcheck-am
774install-strip:
775 if test -z '$(STRIP)'; then \
776 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
777 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
778 install; \
779 else \
780 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
781 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
782 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
783 fi
784mostlyclean-generic:
785 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
786 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
787 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
788
789clean-generic:
790
791distclean-generic:
792 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
793 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
794
795maintainer-clean-generic:
796 @echo "This command is intended for maintainers to use"
797 @echo "it deletes files that may require special tools to rebuild."
798clean: clean-am
799
800clean-am: clean-generic clean-local mostlyclean-am
801
802distclean: distclean-am
803 -rm -f Makefile
804distclean-am: clean-am distclean-generic
805
806dvi: dvi-am
807
808dvi-am:
809
810html: html-am
811
812html-am:
813
814info: info-am
815
816info-am:
817
818install-data-am:
819
820install-dvi: install-dvi-am
821
822install-dvi-am:
823
824install-exec-am:
825
826install-html: install-html-am
827
828install-html-am:
829
830install-info: install-info-am
831
832install-info-am:
833
834install-man:
835
836install-pdf: install-pdf-am
837
838install-pdf-am:
839
840install-ps: install-ps-am
841
842install-ps-am:
843
844installcheck-am:
845
846maintainer-clean: maintainer-clean-am
847 -rm -f Makefile
848maintainer-clean-am: distclean-am maintainer-clean-generic
849
850mostlyclean: mostlyclean-am
851
852mostlyclean-am: mostlyclean-generic
853
854pdf: pdf-am
855
856pdf-am:
857
858ps: ps-am
859
860ps-am:
861
862uninstall-am:
863
864.MAKE: check-am install-am install-strip
865
866.PHONY: all all-am all-local check check-TESTS check-am clean \
867 clean-generic clean-local cscopelist-am ctags-am distclean \
868 distclean-generic distdir dvi dvi-am html html-am info info-am \
869 install install-am install-data install-data-am install-dvi \
870 install-dvi-am install-exec install-exec-am install-html \
871 install-html-am install-info install-info-am install-man \
872 install-pdf install-pdf-am install-ps install-ps-am \
873 install-strip installcheck installcheck-am installdirs \
874 maintainer-clean maintainer-clean-generic mostlyclean \
875 mostlyclean-generic pdf pdf-am ps ps-am recheck tags-am \
876 uninstall uninstall-am
877
878.PRECIOUS: Makefile
879
880
881# .INTERMEDIATE: ${TESTS}
882
883all-local: ${TESTS:=.run}
884
885runall : ${TESTS:=.run}
886 @ echo "All programs terminated normally"
887
888watchall : ${TESTS:=.watch}
889 @ echo "All programs terminated normally"
890
891compileall : ${TESTS}
892 @ echo "Compiled"
893
894clean-local:
895 rm -f ${TESTS} core* out.log .type
896
897% : %.c ${CC} ${UPDATED_TYPE}
898 ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug) -o ${@}
899
900%.run : % ${REPEAT}
901 @ time ${REPEAT} -r out.log -i -s $(repeats) timeout ${max_time} ./${<}
902 @ rm ${<}
903 @ echo -e "${<}: SUCCESS\n"
904
905%.watch : % ${WATCHDOG}
906 @ time ${WATCHDOG} ./${<}
907 @ rm ${<}
908 @ echo -e "${<}: SUCCESS\n"
909
910%.time : % ${REPEAT}
911 @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<}
912 @ rm ${<}
913 @ echo -e "${<}: SUCCESS\n"
914
915${REPEAT}: ${abs_top_srcdir}/tools/Makefile
916 @+make -C ${abs_top_srcdir}/tools/
917
918${WATCHDOG}: ${abs_top_srcdir}/tools/Makefile
919 @+make -C ${abs_top_srcdir}/tools/
920
921# Tell versions [3.59,3.63) of GNU make to not export all variables.
922# Otherwise a system limit (for SysV at least) may be exceeded.
923.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.