]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/Makefile
Strip gw- prefix from gw-test scripts
[can-benchmark.git] / gw-tests / Makefile
diff --git a/gw-tests/Makefile b/gw-tests/Makefile
new file mode 100644 (file)
index 0000000..d496337
--- /dev/null
@@ -0,0 +1,19 @@
+T=$(filter-out lib.sh,$(wildcard *.sh))
+
+.PHONY: $(T)
+
+all: $(T) html
+       @echo "Run 'make plot' to generate graphs"
+
+TEST_FLAGS = -P
+
+$(T):%:
+       ./$@ $(TEST_FLAGS)
+
+.PHONY: plot
+plot:
+       $(MAKE) TEST_FLAGS="-p -X"
+
+.PHONY: html
+html:
+       ./genhtml.py results