X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/21d25d64f7e7f048b2d2a0313ef9ab83cdca942b..36a8c1dbdb6af0d11d233ba49c92d3733b3eac17:/gw-tests/Makefile diff --git a/gw-tests/Makefile b/gw-tests/Makefile index 580d3ad..5ecb187 100644 --- a/gw-tests/Makefile +++ b/gw-tests/Makefile @@ -5,7 +5,7 @@ T:=$(filter-out filter%,$(T)) $(filter filter%,$(T)) .PHONY: $(T:%=run-%) -all: $(T:%=run-%) html +all: $(T:%=run-%) @echo "Run 'make plot' to generate graphs" TEST_FLAGS = -P -t all -l all $(if $(UPDATE),-u) @@ -15,7 +15,7 @@ $(T:%=run-%):run-%: .PHONY: plot plotall -PLOT_SCRIPTS=$(shell find results -name plot.sh) +PLOT_SCRIPTS=$(shell find results/ -name plot.sh) define plot_template plot: $1/graph.png @@ -33,6 +33,21 @@ endef $(foreach result_dir,$(PLOT_SCRIPTS:%/plot.sh=%),$(eval $(call plot_template,$(result_dir)))) $(foreach result_dir,$(PLOT_SCRIPTS:%/plot.sh=%),$(eval $(call plotall_template,$(result_dir)))) +.PHONY: RTEMS +RTEMS: + ./rtems_bench.py + .PHONY: html html: - ./genhtml/genhtml.py results + ./genhtml/genhtml.py results $(CURDIR) + +KERNELS=2.6.33.7-00007-g9c0ff90 2.6.33.7-rt29-00004-g92487e4 2.6.36.2-00015-g4f1bc4e 3.0.4-00007-g1c8c373 3.0.4-rt14-00008-gb2052fd + +.PHONY: allkern $(KERNELS:%=kernel-%) +allkern: $(KERNELS:%=kernel-%) + +$(KERNELS:%=kernel-%): kernel-%: + ln -sf uImage-$* /srv/tftp/ryu/uImage + dtrrts /dev/ttyUSB0 1 1 + sleep 30 + $(MAKE)