From 94cc50d9a53c94e0a2cf0e080e461e28b678dcbb Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 22 Aug 2016 17:36:05 +0200 Subject: [PATCH 1/1] 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. --- t/makefile.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2