- File:
-
- 1 edited
-
src/tests/preempt_longrun/Makefile.am (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/Makefile.am
r7bdcac1 r41770ed1 19 19 preempt=10ul\`ms 20 20 debug=-debug 21 type=LONG22 21 23 22 REPEAT = ${abs_top_srcdir}/tools/repeat 24 WATCHDOG = ${abs_top_srcdir}/tools/watchdog25 23 TIME = /usr/bin/time -f "%E" 26 24 27 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)25 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -DLONG_TEST 28 26 CFLAGS = ${BUILD_FLAGS} 29 27 CC = @CFA_BINDIR@/@CFA_NAME@ … … 31 29 TESTS = block coroutine create disjoint enter enter3 processor stack wait yield 32 30 33 #.INTERMEDIATE: ${TESTS}31 .INTERMEDIATE: ${TESTS} 34 32 35 33 all-local: ${TESTS:=.run} 36 34 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"45 46 35 clean-local: 47 rm -f ${TESTS} 36 rm -f ${TESTS} core* out.log 48 37 49 38 % : %.c ${CC} … … 55 44 @ echo -e "${<}: SUCCESS\n" 56 45 57 %.watch : % ${WATCHDOG}58 @ time ${WATCHDOG} ./${<}59 @ rm ${<}60 @ echo -e "${<}: SUCCESS\n"61 62 46 %.time : % ${REPEAT} 63 47 @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<} … … 65 49 @ echo -e "${<}: SUCCESS\n" 66 50 67 ${REPEAT}: ${abs_top_srcdir}/tools/Makefile51 ${REPEAT}: 68 52 @+make -C ${abs_top_srcdir}/tools/ 69 70 ${WATCHDOG}: ${abs_top_srcdir}/tools/Makefile71 @+make -C ${abs_top_srcdir}/tools/
Note:
See TracChangeset
for help on using the changeset viewer.