Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/preempt_longrun/Makefile.in

    rd35e796 rb9da9585  
    452452preempt = 10ul\`ms
    453453debug = -debug
    454 type = LONG
    455454REPEAT = ${abs_top_srcdir}/tools/repeat
    456 WATCHDOG = ${abs_top_srcdir}/tools/watchdog
    457455TIME = /usr/bin/time -f "%E"
    458 
    459 # $(shell ./update-type $(type))
    460 # ./update-type $(type)
    461 UPDATED_TYPE = $(shell ./update-type $(type))
    462 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)
     456BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -DLONG_TEST
    463457TESTS = block coroutine create disjoint enter enter3 processor stack wait yield
    464458all: all-am
     
    879873
    880874
    881 # .INTERMEDIATE: ${TESTS}
     875.INTERMEDIATE: ${TESTS}
    882876
    883877all-local: ${TESTS:=.run}
    884878
    885 runall : ${TESTS:=.run}
    886         @ echo "All programs terminated normally"
    887 
    888 watchall : ${TESTS:=.watch}
    889         @ echo "All programs terminated normally"
    890 
    891 compileall : ${TESTS}
    892         @ echo "Compiled"
    893 
    894879clean-local:
    895         rm -f ${TESTS} core* out.log .type
    896 
    897 % : %.c ${CC} ${UPDATED_TYPE}
     880        rm -f ${TESTS}
     881
     882% : %.c ${CC}
    898883        ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug) -o ${@}
    899884
     
    903888        @ echo -e "${<}: SUCCESS\n"
    904889
    905 %.watch : % ${WATCHDOG}
    906         @ time ${WATCHDOG} ./${<}
    907         @ rm ${<}
    908         @ echo -e "${<}: SUCCESS\n"
    909 
    910890%.time : % ${REPEAT}
    911891        @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<}
     
    913893        @ echo -e "${<}: SUCCESS\n"
    914894
    915 ${REPEAT}: ${abs_top_srcdir}/tools/Makefile
    916         @+make -C ${abs_top_srcdir}/tools/
    917 
    918 ${WATCHDOG}: ${abs_top_srcdir}/tools/Makefile
     895${REPEAT}:
    919896        @+make -C ${abs_top_srcdir}/tools/
    920897
Note: See TracChangeset for help on using the changeset viewer.