Changeset bee653c for longrun_tests/Makefile.in
- Timestamp:
- Mar 28, 2019, 6:35:21 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 2fabdc02, 9be2b60
- Parents:
- 8a25be9 (diff), b611fc3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
longrun_tests/Makefile.in
r8a25be9 rbee653c 91 91 build_triplet = @build@ 92 92 host_triplet = @host@ 93 subdir = tests/preempt_longrun93 subdir = longrun_tests 94 94 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 95 95 am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \ … … 331 331 $(TEST_LOG_FLAGS) 332 332 am__DIST_COMMON = $(srcdir)/Makefile.in \ 333 $(top_srcdir)/automake/test-driver 333 $(top_srcdir)/automake/test-driver $(top_srcdir)/src/cfa.make 334 334 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 335 335 ACLOCAL = @ACLOCAL@ … … 342 342 AWK = @AWK@ 343 343 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 344 CC = @C FACC@344 CC = @CC@ 345 345 CCAS = @CCAS@ 346 346 CCASDEPMODE = @CCASDEPMODE@ … … 356 356 CFA_NAME = @CFA_NAME@ 357 357 CFA_PREFIX = @CFA_PREFIX@ 358 CFLAGS = ${BUILD_FLAGS}358 CFLAGS = @CFLAGS@ 359 359 CPP = @CPP@ 360 360 CPPFLAGS = @CPPFLAGS@ … … 479 479 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 480 480 ACLOCAL_AMFLAGS = -I automake 481 CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS) 482 LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ 483 $(LIBTOOLFLAGS) --mode=compile $(CFACC) $(DEFS) \ 484 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) \ 485 $(AM_CFLAGS) $(CFLAGS) 486 487 AM_V_CFA = $(am__v_CFA_@AM_V@) 488 am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@) 489 am__v_CFA_0 = @echo " CFA " $@; 490 am__v_CFA_1 = 491 AM_V_JAVAC = $(am__v_JAVAC_@AM_V@) 492 am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@) 493 am__v_JAVAC_0 = @echo " JAVAC " $@; 494 am__v_JAVAC_1 = 495 AM_V_GOC = $(am__v_GOC_@AM_V@) 496 am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@) 497 am__v_GOC_0 = @echo " GOC " $@; 498 am__v_GOC_1 = 499 UPPCC = u++ 500 UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS) 501 AM_V_UPP = $(am__v_UPP_@AM_V@) 502 am__v_UPP_ = $(am__v_UPP_@AM_DEFAULT_V@) 503 am__v_UPP_0 = @echo " UPP " $@; 504 am__v_UPP_1 = 481 505 repeats = 10 482 506 max_time = 600 … … 484 508 debug = -debug 485 509 type = LONG 486 REPEAT = $ {abs_top_srcdir}/tools/repeat487 WATCHDOG = $ {abs_top_srcdir}/tools/watchdog510 REPEAT = $(abs_top_builddir)/tools/repeat 511 WATCHDOG = $(abs_top_builddir)/tools/watchdog 488 512 TIME = /usr/bin/time -f "%E" 489 490 # $(shell ./update-type $(type)) 491 # ./update-type $(type) 492 UPDATED_TYPE = $(shell ./update-type $(type)) 493 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell cat .type | tr a-z A-Z) 513 UPDATED_TYPE = $(shell $(srcdir)/update-type $(type)) 514 BUILD_FLAGS = 515 AM_CFAFLAGS = \ 516 -g \ 517 -Wall \ 518 -Wno-unused-function \ 519 -quiet \ 520 -O2 \ 521 -DPREEMPTION_RATE=$(preempt) \ 522 -I$(abs_top_srcdir)/tests \ 523 -I$(srcdir) \ 524 -DTEST_$(shell cat .type | tr a-z A-Z) \ 525 -in-tree 526 494 527 TESTS = block coroutine create disjoint enter enter3 processor stack wait yield 495 528 all: all-am 496 529 497 530 .SUFFIXES: 498 .SUFFIXES: . log.test .test$(EXEEXT) .trs499 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)531 .SUFFIXES: .cfa .lo .log .o .test .test$(EXEEXT) .trs 532 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/src/cfa.make $(am__configure_deps) 500 533 @for dep in $?; do \ 501 534 case '$(am__configure_deps)' in \ … … 506 539 esac; \ 507 540 done; \ 508 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/preempt_longrun/Makefile'; \541 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign longrun_tests/Makefile'; \ 509 542 $(am__cd) $(top_srcdir) && \ 510 $(AUTOMAKE) --foreign tests/preempt_longrun/Makefile543 $(AUTOMAKE) --foreign longrun_tests/Makefile 511 544 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 512 545 @case '$?' in \ … … 517 550 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 518 551 esac; 552 $(top_srcdir)/src/cfa.make $(am__empty): 519 553 520 554 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) … … 917 951 918 952 919 # .INTERMEDIATE: ${TESTS} 920 921 all-local: ${TESTS:=.run} 922 923 runall : ${TESTS:=.run} 953 .cfa.o: 954 $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ 955 $(CFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 956 $(am__mv) $$depbase.Tpo $$depbase.Po 957 958 .cfa.lo: 959 $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ 960 $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 961 $(am__mv) $$depbase.Tpo $$depbase.Plo 962 963 # .INTERMEDIATE: $(TESTS) 964 965 all-local: $(TESTS:=.run) 966 967 runall : $(TESTS:=.run) 924 968 @ echo "All programs terminated normally" 925 969 926 watchall : $ {TESTS:=.watch}970 watchall : $(TESTS:=.watch) 927 971 @ echo "All programs terminated normally" 928 972 929 compileall : $ {TESTS}973 compileall : $(TESTS) 930 974 @ echo "Compiled" 931 975 932 976 clean-local: 933 rm -f $ {TESTS}core* out.log .type934 935 % : %.c ${CC} ${UPDATED_TYPE}936 $ {AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug) -o ${@}937 938 %.run : % $ {REPEAT}939 @ time $ {REPEAT} -r out.log -i -s $(repeats) timeout ${max_time} ./${<}940 @ rm $ {<}941 @ echo -e "$ {<}: SUCCESS\n"942 943 %.watch : % $ {WATCHDOG}944 @ time $ {WATCHDOG} ./${<}945 @ rm $ {<}946 @ echo -e "$ {<}: SUCCESS\n"947 948 %.time : % $ {REPEAT}949 @ $ {REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<}950 @ rm $ {<}951 @ echo -e "$ {<}: SUCCESS\n"952 953 $ {REPEAT}: ${abs_top_srcdir}/tools/Makefile954 @+make -C $ {abs_top_srcdir}/tools/955 956 $ {WATCHDOG}: ${abs_top_srcdir}/tools/Makefile957 @+make -C $ {abs_top_srcdir}/tools/977 rm -f $(TESTS) core* out.log .type 978 979 % : %.cfa $(CFACC) $(UPDATED_TYPE) 980 $(AM_V_CFA)$(CFACOMPILE) $(<) $(debug) -o $(@) 981 982 %.run : % $(REPEAT) 983 @ time $(REPEAT) -r out.log -i -s $(repeats) timeout $(max_time) ./$(<) 984 @ rm $(<) 985 @ echo -e "$(<): SUCCESS\n" 986 987 %.watch : % $(WATCHDOG) 988 @ time $(WATCHDOG} ./$(<) 989 @ rm $(<) 990 @ echo -e "$(<): SUCCESS\n" 991 992 %.time : % $(REPEAT) 993 @ $(REPEAT) -i -s -- $(repeats) $(TIME) -a -o times.log ./$(<) 994 @ rm $(<) 995 @ echo -e "$(<): SUCCESS\n" 996 997 $(REPEAT): $(abs_top_builddir)/tools/Makefile 998 @+make -C $(abs_top_builddir)/tools/ 999 1000 $(WATCHDOG): $(abs_top_builddir)/tools/Makefile 1001 @+make -C $(abs_top_builddir)/tools/ 958 1002 959 1003 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Note: See TracChangeset
for help on using the changeset viewer.