X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/0facbaa1d87d74135e8af6008b26f3e03ed8b386..b892246b98870b63e93f766dc0e3764bf3683163:/gw-tests/Makefile diff --git a/gw-tests/Makefile b/gw-tests/Makefile index d496337..e1f22ec 100644 --- a/gw-tests/Makefile +++ b/gw-tests/Makefile @@ -5,15 +5,24 @@ T=$(filter-out lib.sh,$(wildcard *.sh)) all: $(T) html @echo "Run 'make plot' to generate graphs" -TEST_FLAGS = -P +TEST_FLAGS = -P -t all $(T):%: ./$@ $(TEST_FLAGS) -.PHONY: plot -plot: - $(MAKE) TEST_FLAGS="-p -X" +.PHONY: plot plotall +PLOT_SCRIPTS=$(shell find results -name plot.sh) +THUMBS=$(PLOT_SCRIPTS:%/plot.sh=%/thumb) +plot: $(THUMBS) +%/thumb: %/plot.sh + $*/plot.sh -X + +plotall: $(PLOT_SCRIPTS:%=run-%) +$(PLOT_SCRIPTS:%=run-%): + ${@:run-%=%} -X + + .PHONY: html html: - ./genhtml.py results + ./genhtml/genhtml.py results