X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=t%2Fmakefile.test;h=904c779353bbd5e08dfab8e449e607dead8a622c;hp=a2bd4e538a473e6caea8342e6fdb2e102ccc6aac;hb=3685a9093ae12ff9ce02fc58e607eb9b63894443;hpb=e6e3a404091110ac770f65dad64e194f5900cd27 diff --git a/t/makefile.test b/t/makefile.test index a2bd4e53..904c7793 100644 --- a/t/makefile.test +++ b/t/makefile.test @@ -1,4 +1,4 @@ -RM ?= rm -f +RM = rm -f results_dir := $(test_dir)/test-results trash_dir := $(test_dir)/trashes @@ -8,6 +8,7 @@ test_options += --results-dir $(results_dir) test_options += --trash-dir $(trash_dir) test_options += --executables "$(prefixed_executables)" test_options += --objects "$(basename $(all_objs))" +test_options += --man-dir $(man_dir) ifdef V ifeq ("$(origin V)", "command line") @@ -17,16 +18,18 @@ endif tests := $(sort $(wildcard $(test_dir)/t[0-9][0-9][0-9][0-9]-*.sh)) +check: $(tests) test: $(tests) $(tests): all - $(Q) $@ $(test_options) + $(call SAY, $(@)) + $@ $(test_options) test-help: - $(Q) for t in $(tests); do $$t $(test_options) -h; done + @for t in $(tests); do $$t $(test_options) -h; done test-clean: $(RM) -r $(results_dir) $(RM) -r $(trash_dir) -.PHONY: $(tests) test-help +.PHONY: $(tests) test-help test-clean test check