]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/Makefile
Allow results directory to be symlink
[can-benchmark.git] / gw-tests / Makefile
index 524ddd1f649598c9635ab60d65140c3a079f5797..c0bec58a7b41159122b2aff31fb777f9f98f70d6 100644 (file)
@@ -5,7 +5,7 @@ T:=$(filter-out filter%,$(T)) $(filter filter%,$(T))
 
 .PHONY: $(T:%=run-%)
 
-all: $(T:%=run-%) html
+all: $(T:%=run-%)
        @echo "Run 'make plot' to generate graphs"
 
 TEST_FLAGS = -P -t all -l all $(if $(UPDATE),-u)
@@ -15,7 +15,7 @@ $(T:%=run-%):run-%:
 
 .PHONY: plot plotall
 
-PLOT_SCRIPTS=$(shell find results -name plot.sh)
+PLOT_SCRIPTS=$(shell find results/ -name plot.sh)
 
 define plot_template
 plot: $1/graph.png
@@ -33,6 +33,10 @@ endef
 $(foreach result_dir,$(PLOT_SCRIPTS:%/plot.sh=%),$(eval $(call plot_template,$(result_dir))))
 $(foreach result_dir,$(PLOT_SCRIPTS:%/plot.sh=%),$(eval $(call plotall_template,$(result_dir))))
 
+.PHONY: RTEMS
+RTEMS:
+       ./rtems_bench.py
+
 .PHONY: html
 html:
        ./genhtml/genhtml.py results