X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/ac55fd90e809e5af502cf73aac54428f2e5566a3..c36e3d6a2a7c2a96eb98cd1db64a11f508a03677:/gw-tests/Makefile diff --git a/gw-tests/Makefile b/gw-tests/Makefile index c042d2f..520bc6c 100644 --- a/gw-tests/Makefile +++ b/gw-tests/Makefile @@ -1,11 +1,14 @@ -T=$(filter-out lib.sh,$(wildcard *.sh)) +T:=$(filter-out lib.sh,$(wildcard *.sh)) + +# Run slow test at the end +T:=$(filter-out filter%,$(T)) $(filter filter%,$(T)) .PHONY: $(T:%=run-%) all: $(T:%=run-%) html @echo "Run 'make plot' to generate graphs" -TEST_FLAGS = -P -t all +TEST_FLAGS = -P -t all -l all $(T:%=run-%):run-%: ./$* $(TEST_FLAGS) @@ -15,8 +18,8 @@ $(T:%=run-%):run-%: PLOT_SCRIPTS=$(shell find results -name plot.sh) define plot_template -plot: $1/thumb -$1/thumb: $1/plot.sh $(notdir $1).sh $(wildcard $1/*.txt) +plot: $1/graph.png +$1/graph.png: $1/plot.sh $(notdir $1).sh lib.sh $(wildcard $1/*.txt) $1/plot.sh -X endef