Ignore:
Timestamp:
May 24, 2019, 10:19:41 AM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
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, stuck-waitfor-destruct
Children:
d908563
Parents:
6a9d4b4 (diff), 292642a (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.
Message:

Merge branch 'master' into cleanup-dtors

File:
1 moved

Legend:

Unmodified
Added
Removed
  • longrun_tests/Makefile.in

    r6a9d4b4 r933f32f  
    9191build_triplet = @build@
    9292host_triplet = @host@
    93 subdir = tests/preempt_longrun
     93subdir = longrun_tests
    9494ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    9595am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \
     
    331331        $(TEST_LOG_FLAGS)
    332332am__DIST_COMMON = $(srcdir)/Makefile.in \
    333         $(top_srcdir)/automake/test-driver
     333        $(top_srcdir)/automake/test-driver $(top_srcdir)/src/cfa.make
    334334DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    335335ACLOCAL = @ACLOCAL@
    336 ALLOCA = @ALLOCA@
    337336AMTAR = @AMTAR@
    338337AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
     
    343342AWK = @AWK@
    344343BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
    345 CC = @CFACC@
     344CC = @CC@
    346345CCAS = @CCAS@
    347346CCASDEPMODE = @CCASDEPMODE@
     
    357356CFA_NAME = @CFA_NAME@
    358357CFA_PREFIX = @CFA_PREFIX@
    359 CFLAGS = ${BUILD_FLAGS}
     358CFLAGS = @CFLAGS@
    360359CPP = @CPP@
    361360CPPFLAGS = @CPPFLAGS@
     
    480479AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
    481480ACLOCAL_AMFLAGS = -I automake
     481CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS)
     482LTCFACOMPILE = $(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
     487AM_V_CFA = $(am__v_CFA_@AM_V@)
     488am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@)
     489am__v_CFA_0 = @echo "  CFA     " $@;
     490am__v_CFA_1 =
     491AM_V_JAVAC = $(am__v_JAVAC_@AM_V@)
     492am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@)
     493am__v_JAVAC_0 = @echo "  JAVAC   " $@;
     494am__v_JAVAC_1 =
     495AM_V_GOC = $(am__v_GOC_@AM_V@)
     496am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@)
     497am__v_GOC_0 = @echo "  GOC     " $@;
     498am__v_GOC_1 =
     499UPPCC = u++
     500UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
     501AM_V_UPP = $(am__v_UPP_@AM_V@)
     502am__v_UPP_ = $(am__v_UPP_@AM_DEFAULT_V@)
     503am__v_UPP_0 = @echo "  UPP     " $@;
     504am__v_UPP_1 =
    482505repeats = 10
    483506max_time = 600
     
    485508debug = -debug
    486509type = LONG
    487 REPEAT = ${abs_top_srcdir}/tools/repeat
    488 WATCHDOG = ${abs_top_srcdir}/tools/watchdog
     510REPEAT = $(abs_top_builddir)/tools/repeat
     511WATCHDOG = $(abs_top_builddir)/tools/watchdog
    489512TIME = /usr/bin/time -f "%E"
    490 
    491 # $(shell ./update-type $(type))
    492 # ./update-type $(type)
    493 UPDATED_TYPE = $(shell ./update-type $(type))
    494 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)
     513UPDATED_TYPE = $(shell $(srcdir)/update-type $(type))
     514BUILD_FLAGS =
     515AM_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
    495527TESTS = block coroutine create disjoint enter enter3 processor stack wait yield
    496528all: all-am
    497529
    498530.SUFFIXES:
    499 .SUFFIXES: .log .test .test$(EXEEXT) .trs
    500 $(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)
    501533        @for dep in $?; do \
    502534          case '$(am__configure_deps)' in \
     
    507539          esac; \
    508540        done; \
    509         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/preempt_longrun/Makefile'; \
     541        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign longrun_tests/Makefile'; \
    510542        $(am__cd) $(top_srcdir) && \
    511           $(AUTOMAKE) --foreign tests/preempt_longrun/Makefile
     543          $(AUTOMAKE) --foreign longrun_tests/Makefile
    512544Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    513545        @case '$?' in \
     
    518550            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    519551        esac;
     552$(top_srcdir)/src/cfa.make $(am__empty):
    520553
    521554$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     
    918951
    919952
    920 # .INTERMEDIATE: ${TESTS}
    921 
    922 all-local: ${TESTS:=.run}
    923 
    924 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
     965all-local: $(TESTS:=.run)
     966
     967runall : $(TESTS:=.run)
    925968        @ echo "All programs terminated normally"
    926969
    927 watchall : ${TESTS:=.watch}
     970watchall : $(TESTS:=.watch)
    928971        @ echo "All programs terminated normally"
    929972
    930 compileall : ${TESTS}
     973compileall : $(TESTS)
    931974        @ echo "Compiled"
    932975
    933976clean-local:
    934         rm -f ${TESTS} core* out.log .type
    935 
    936 % : %.c ${CC} ${UPDATED_TYPE}
    937         ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug) -o ${@}
    938 
    939 %.run : % ${REPEAT}
    940         @ time ${REPEAT} -r out.log -i -s $(repeats) timeout ${max_time} ./${<}
    941         @ rm ${<}
    942         @ echo -e "${<}: SUCCESS\n"
    943 
    944 %.watch : % ${WATCHDOG}
    945         @ time ${WATCHDOG} ./${<}
    946         @ rm ${<}
    947         @ echo -e "${<}: SUCCESS\n"
    948 
    949 %.time : % ${REPEAT}
    950         @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<}
    951         @ rm ${<}
    952         @ echo -e "${<}: SUCCESS\n"
    953 
    954 ${REPEAT}: ${abs_top_srcdir}/tools/Makefile
    955         @+make -C ${abs_top_srcdir}/tools/
    956 
    957 ${WATCHDOG}: ${abs_top_srcdir}/tools/Makefile
    958         @+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/
    9591002
    9601003# Tell versions [3.59,3.63) of GNU make to not export all variables.
Note: See TracChangeset for help on using the changeset viewer.