aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2022-02-23 02:38:25 +0100
committerGuilhem Moulin <guilhem@fripost.org>2022-02-23 21:23:57 +0100
commit448760457c85b80eef23b7c1ede8c735e4491b98 (patch)
tree12a64c80f1bc3a633cac6921a4f47c370f8bb634
parentb5f3eeaf83d68c64ee508624afa5b76c14907e15 (diff)
Makefile: Rename 'test' target to 'check'.
Per convention, cf. https://www.gnu.org/prep/standards/html_node/Standard-Targets.html .
-rw-r--r--Makefile4
-rw-r--r--doc/build.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d7486eb..cee54eb 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ $(SERVICE_FILES): $(builddir)/%.service: $(srcdir)/%.service
@mkdir -vp $(dir $@)
sed "s|@bindir@|$(bindir)|" <"$<" >"$@"
-test:
+check: $(PROGRAMS)
$(srcdir)/tests/certs/generate
INTERIMAP_I=$(srcdir)/lib INTERIMAP_PATH=$(builddir) $(srcdir)/tests/run-all
@@ -97,4 +97,4 @@ clean:
rm -vf -- $(PROGRAMS) $(MANUAL_FILES) $(HTML_FILES) $(SERVICE_FILES)
-rmdir -vp --ignore-fail-on-non-empty -- $(builddir)/doc
-.PHONY: all all-nodoc manual html doc test release install uninstall clean
+.PHONY: all all-nodoc manual html doc check release install uninstall clean
diff --git a/doc/build.md b/doc/build.md
index 2e4e511..142097e 100644
--- a/doc/build.md
+++ b/doc/build.md
@@ -38,7 +38,7 @@ Additional packages are required in order to run the test suite:
$ sudo apt install dovecot-imapd dovecot-lmtpd openssl procps sqlite3 xxd
<!-- -->
- $ make test
+ $ make check
(The test suite also needs to bind to TCP ports 10024, 10143 and 10993
on the loopback interface.)