Changeset 0394c31


Ignore:
Timestamp:
Jan 31, 2018, 2:42:44 PM (7 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, resolv-new, with_gc
Children:
4ab3d68e
Parents:
1449d83
Message:

Added timing target for long running test

Location:
src/tests/preempt_longrun
Files:
2 edited

Legend:

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

    r1449d83 r0394c31  
    2020
    2121REPEAT = ${abs_top_srcdir}/tools/repeat
     22TIME = /usr/bin/time -f "%E"
    2223
    2324BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DPREEMPTION_RATE=${preempt}
     
    4243        @ echo -e "${<}: SUCCESS\n"
    4344
    44 ${REPEAT}:
     45%.time : % ${REPEAT}
     46        @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<}
     47        @ rm ${<}
     48        @ echo -e "${<}: SUCCESS\n"
     49
     50${REPEAT}:
    4551        @+make -C ${abs_top_srcdir}/tools/
  • src/tests/preempt_longrun/Makefile.in

    r1449d83 r0394c31  
    452452preempt = 1_000ul
    453453REPEAT = ${abs_top_srcdir}/tools/repeat
     454TIME = /usr/bin/time -f "%E"
    454455BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -debug -O2 -DPREEMPTION_RATE=${preempt}
    455456TESTS = block create disjoint enter enter3 processor stack wait yield
     
    879880        @ echo -e "${<}: SUCCESS\n"
    880881
    881 ${REPEAT}:
     882%.time : % ${REPEAT}
     883        @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<}
     884        @ rm ${<}
     885        @ echo -e "${<}: SUCCESS\n"
     886
     887${REPEAT}:
    882888        @+make -C ${abs_top_srcdir}/tools/
    883889
Note: See TracChangeset for help on using the changeset viewer.