From: Andre Noll Date: Mon, 22 Aug 2016 15:36:05 +0000 (+0200) Subject: build: Add target "check" as a synonym for "test". X-Git-Tag: v0.6.0~9^2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=94cc50d9a53c94e0a2cf0e080e461e28b678dcbb;ds=sidebyside build: Add target "check" as a synonym for "test". make check seems to be more common than make test, and "check" is the recommended name according to the GNU standards. This patch teaches the build system to support both targets. It also marks the test-clean, check and test targets as phony. --- diff --git a/t/makefile.test b/t/makefile.test index 15bb6859..a71963c9 100644 --- a/t/makefile.test +++ b/t/makefile.test @@ -18,6 +18,7 @@ endif tests := $(sort $(wildcard $(test_dir)/t[0-9][0-9][0-9][0-9]-*.sh)) +check: $(tests) test: $(tests) $(tests): all @@ -30,4 +31,4 @@ test-clean: $(RM) -r $(results_dir) $(RM) -r $(trash_dir) -.PHONY: $(tests) test-help +.PHONY: $(tests) test-help test-clean test check