X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/0b85f7d8d9aa48ec67f0559dfe42ce370399a7f0..8fffb6b47784e561197f78dd8424f2cd2a1fcd1e:/tests/Makefile diff --git a/tests/Makefile b/tests/Makefile index 7094dba..f37d4b7 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -2,7 +2,21 @@ T=$(filter-out _lib.sh,$(wildcard *.sh)) .PHONY: $(T) -all: $(T) +all: $(T) html + @echo "Run 'make plot' to generate graphs" + +TEST_FLAGS = -P $(T):%: - ./$@ --pdf-only + ./$@ $(TEST_FLAGS) + +.PHONY: plot +plot: + $(MAKE) TEST_FLAGS="-p -X" + +plotall: + for i in results/by-kern/*; do $(MAKE) plot KVERS=$${i#results/by-kern/}; done + +.PHONY: html +html: + ./genhtml.py results