X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/839937d2c18ad240ff87ba33d6ce144d5d8793a0..0cfde1d2b81d51e73e45e178cdce58e10dcda0a4:/gw-tests/Makefile?ds=sidebyside diff --git a/gw-tests/Makefile b/gw-tests/Makefile index c0bb27f..580d3ad 100644 --- a/gw-tests/Makefile +++ b/gw-tests/Makefile @@ -8,7 +8,7 @@ T:=$(filter-out filter%,$(T)) $(filter filter%,$(T)) all: $(T:%=run-%) html @echo "Run 'make plot' to generate graphs" -TEST_FLAGS = -P -t all -l all +TEST_FLAGS = -P -t all -l all $(if $(UPDATE),-u) $(T:%=run-%):run-%: ./$* $(TEST_FLAGS) @@ -18,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