X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/4e25bba0f22a675ba1950e2e41fe22dfd60073c9..25a87df81e3eb9b6e0bff19a2197165b3c3ceb2a:/gw-tests/Makefile diff --git a/gw-tests/Makefile b/gw-tests/Makefile index 9819160..2ede079 100644 --- a/gw-tests/Makefile +++ b/gw-tests/Makefile @@ -5,14 +5,23 @@ 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-%) +run-%: % + $* -X + + .PHONY: html html: