]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - tests/Makefile
Gzip ramdisk - booting is faster
[can-benchmark.git] / tests / Makefile
index 7094dbacd706a967edba3e71651140282e0bab56..f37d4b7e6bd6aa4800b06ff6e40c229e56a93ae5 100644 (file)
@@ -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