Ignore:
File:
1 edited

Legend:

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

    r7bdcac1 r41770ed1  
    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 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell echo $(type) | tr a-z A-Z)
     456BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -DLONG_TEST
    459457TESTS = block coroutine create disjoint enter enter3 processor stack wait yield
    460458all: all-am
     
    875873
    876874
    877 # .INTERMEDIATE: ${TESTS}
     875.INTERMEDIATE: ${TESTS}
    878876
    879877all-local: ${TESTS:=.run}
    880878
    881 runall : ${TESTS:=.run}
    882         @ echo "All programs terminated normally"
    883 
    884 watchall : ${TESTS:=.watch}
    885         @ echo "All programs terminated normally"
    886 
    887 compileall : ${TESTS}
    888         @ echo "Compiled"
    889 
    890879clean-local:
    891         rm -f ${TESTS}
     880        rm -f ${TESTS} core* out.log
    892881
    893882% : %.c ${CC}
     
    899888        @ echo -e "${<}: SUCCESS\n"
    900889
    901 %.watch : % ${WATCHDOG}
    902         @ time ${WATCHDOG} ./${<}
    903         @ rm ${<}
    904         @ echo -e "${<}: SUCCESS\n"
    905 
    906890%.time : % ${REPEAT}
    907891        @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<}
     
    909893        @ echo -e "${<}: SUCCESS\n"
    910894
    911 ${REPEAT}: ${abs_top_srcdir}/tools/Makefile
    912         @+make -C ${abs_top_srcdir}/tools/
    913 
    914 ${WATCHDOG}: ${abs_top_srcdir}/tools/Makefile
     895${REPEAT}:
    915896        @+make -C ${abs_top_srcdir}/tools/
    916897
Note: See TracChangeset for help on using the changeset viewer.