Strip gw- prefix from gw-test scripts
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 1 Dec 2010 12:37:48 +0000 (13:37 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 1 Dec 2010 12:37:48 +0000 (13:37 +0100)
gw-tests/Makefile [new file with mode: 0644]
gw-tests/filter-sff.sh [moved from gw-tests/gw-filter-sff.sh with 100% similarity]
gw-tests/filter.sh [moved from gw-tests/gw-filter.sh with 100% similarity]
gw-tests/mod.sh [moved from gw-tests/gw-mod.sh with 100% similarity]
gw-tests/nop.sh [moved from gw-tests/gw-nop.sh with 100% similarity]

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
similarity index 100%
rename from gw-tests/gw-filter.sh
rename to gw-tests/filter.sh
similarity index 100%
rename from gw-tests/gw-mod.sh
rename to gw-tests/mod.sh
similarity index 100%
rename from gw-tests/gw-nop.sh
rename to gw-tests/nop.sh