Changeset 7bdcac1 for src/tests/preempt_longrun/Makefile.am
- Timestamp:
- Jun 11, 2018, 10:16:04 AM (6 years ago)
- 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, with_gc
- Children:
- 3fc59bdb
- Parents:
- 85b1deb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/Makefile.am
r85b1deb r7bdcac1 19 19 preempt=10ul\`ms 20 20 debug=-debug 21 type=LONG 21 22 22 23 REPEAT = ${abs_top_srcdir}/tools/repeat 24 WATCHDOG = ${abs_top_srcdir}/tools/watchdog 23 25 TIME = /usr/bin/time -f "%E" 24 26 25 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} - DLONG_TEST27 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) 26 28 CFLAGS = ${BUILD_FLAGS} 27 29 CC = @CFA_BINDIR@/@CFA_NAME@ … … 29 31 TESTS = block coroutine create disjoint enter enter3 processor stack wait yield 30 32 31 .INTERMEDIATE: ${TESTS}33 # .INTERMEDIATE: ${TESTS} 32 34 33 35 all-local: ${TESTS:=.run} 36 37 runall : ${TESTS:=.run} 38 @ echo "All programs terminated normally" 39 40 watchall : ${TESTS:=.watch} 41 @ echo "All programs terminated normally" 42 43 compileall : ${TESTS} 44 @ echo "Compiled" 34 45 35 46 clean-local: … … 44 55 @ echo -e "${<}: SUCCESS\n" 45 56 57 %.watch : % ${WATCHDOG} 58 @ time ${WATCHDOG} ./${<} 59 @ rm ${<} 60 @ echo -e "${<}: SUCCESS\n" 61 46 62 %.time : % ${REPEAT} 47 63 @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<} … … 49 65 @ echo -e "${<}: SUCCESS\n" 50 66 51 ${REPEAT}: 67 ${REPEAT}: ${abs_top_srcdir}/tools/Makefile 52 68 @+make -C ${abs_top_srcdir}/tools/ 69 70 ${WATCHDOG}: ${abs_top_srcdir}/tools/Makefile 71 @+make -C ${abs_top_srcdir}/tools/
Note: See TracChangeset
for help on using the changeset viewer.