- File:
-
- 1 edited
-
src/tests/preempt_longrun/Makefile.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/preempt_longrun/Makefile.in
rd35e796 rb9da9585 452 452 preempt = 10ul\`ms 453 453 debug = -debug 454 type = LONG455 454 REPEAT = ${abs_top_srcdir}/tools/repeat 456 WATCHDOG = ${abs_top_srcdir}/tools/watchdog457 455 TIME = /usr/bin/time -f "%E" 458 459 # $(shell ./update-type $(type)) 460 # ./update-type $(type) 461 UPDATED_TYPE = $(shell ./update-type $(type)) 462 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -I.. -I. -DTEST_$(shell cat .type | tr a-z A-Z) 456 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -O2 -DPREEMPTION_RATE=${preempt} -DLONG_TEST 463 457 TESTS = block coroutine create disjoint enter enter3 processor stack wait yield 464 458 all: all-am … … 879 873 880 874 881 #.INTERMEDIATE: ${TESTS}875 .INTERMEDIATE: ${TESTS} 882 876 883 877 all-local: ${TESTS:=.run} 884 878 885 runall : ${TESTS:=.run}886 @ echo "All programs terminated normally"887 888 watchall : ${TESTS:=.watch}889 @ echo "All programs terminated normally"890 891 compileall : ${TESTS}892 @ echo "Compiled"893 894 879 clean-local: 895 rm -f ${TESTS} core* out.log .type896 897 % : %.c ${CC} ${UPDATED_TYPE}880 rm -f ${TESTS} 881 882 % : %.c ${CC} 898 883 ${AM_V_GEN}${CC} ${CFLAGS} ${<} $(debug) -o ${@} 899 884 … … 903 888 @ echo -e "${<}: SUCCESS\n" 904 889 905 %.watch : % ${WATCHDOG}906 @ time ${WATCHDOG} ./${<}907 @ rm ${<}908 @ echo -e "${<}: SUCCESS\n"909 910 890 %.time : % ${REPEAT} 911 891 @ ${REPEAT} -i -s -- $(repeats) $(TIME) -a -o times.log ./${<} … … 913 893 @ echo -e "${<}: SUCCESS\n" 914 894 915 ${REPEAT}: ${abs_top_srcdir}/tools/Makefile 916 @+make -C ${abs_top_srcdir}/tools/ 917 918 ${WATCHDOG}: ${abs_top_srcdir}/tools/Makefile 895 ${REPEAT}: 919 896 @+make -C ${abs_top_srcdir}/tools/ 920 897
Note:
See TracChangeset
for help on using the changeset viewer.