Ignore:
Timestamp:
Jun 11, 2018, 10:16:04 AM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct, with_gc
Children:
3fc59bdb
Parents:
85b1deb
Message:

Added the option to make longrun tests run until failure

File:
1 edited

Legend:

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

    r85b1deb r7bdcac1  
    452452preempt = 10ul\`ms
    453453debug = -debug
     454type = LONG
    454455REPEAT = ${abs_top_srcdir}/tools/repeat
     456WATCHDOG = ${abs_top_srcdir}/tools/watchdog
    455457TIME = /usr/bin/time -f "%E"
    456 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -DLONG_TEST
     458BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell echo $(type) | tr a-z A-Z)
    457459TESTS = block coroutine create disjoint enter enter3 processor stack wait yield
    458460all: all-am
     
    873875
    874876
    875 .INTERMEDIATE: ${TESTS}
     877# .INTERMEDIATE: ${TESTS}
    876878
    877879all-local: ${TESTS:=.run}
     880
     881runall : ${TESTS:=.run}
     882        @ echo "All programs terminated normally"
     883
     884watchall : ${TESTS:=.watch}
     885        @ echo "All programs terminated normally"
     886
     887compileall : ${TESTS}
     888        @ echo "Compiled"
    878889
    879890clean-local:
     
    888899        @ echo -e "${<}: SUCCESS\n"
    889900
     901%.watch : % ${WATCHDOG}
     902        @ time ${WATCHDOG} ./${<}
     903        @ rm ${<}
     904        @ echo -e "${<}: SUCCESS\n"
     905
    890906%.time : % ${REPEAT}
    891907        @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<}
     
    893909        @ echo -e "${<}: SUCCESS\n"
    894910
    895 ${REPEAT}:
     911${REPEAT}: ${abs_top_srcdir}/tools/Makefile
     912        @+make -C ${abs_top_srcdir}/tools/
     913
     914${WATCHDOG}: ${abs_top_srcdir}/tools/Makefile
    896915        @+make -C ${abs_top_srcdir}/tools/
    897916
Note: See TracChangeset for help on using the changeset viewer.