Make will run tests for all types of traffic
[can-benchmark.git] / gw-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 -t all
9
10 $(T):%:
11         ./$@ $(TEST_FLAGS)
12
13 .PHONY: plot
14 plot:
15         $(MAKE) TEST_FLAGS="-p -X"
16
17 .PHONY: html
18 html:
19         ./genhtml/genhtml.py results