]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - tests/Makefile
Add support for setting socketcan by ip tool
[can-benchmark.git] / tests / Makefile
1 T=$(filter-out _lib.sh,$(wildcard *.sh))
2
3 .PHONY: $(T)
4
5 all: $(T) html
6         @echo "Run 'make plot' to generate graphs"
7
8 TEST_FLAGS = -P
9
10 $(T):%:
11         ./$@ $(TEST_FLAGS)
12
13 .PHONY: plot
14 plot:
15         $(MAKE) TEST_FLAGS="-p -X"
16
17 plotall:
18         for i in results/by-kern/*; do $(MAKE) plot KVERS=$${i#results/by-kern/}; done
19
20 .PHONY: html
21 html:
22         ./genhtml.py results