summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-11-09 09:56:04 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-11-09 09:56:04 (GMT)
commit78e1bab77662b9a23a699320d9dd18a7cab4a8d7 (patch) (side-by-side diff)
treeb80ae19127f9d5183cb035e4a40f391d6ef90be0
parent2aaec27bc466a9c64e7504697b3adf09c11c274a (diff)
downloadmailutils-78e1bab77662b9a23a699320d9dd18a7cab4a8d7.tar.gz
mailutils-78e1bab77662b9a23a699320d9dd18a7cab4a8d7.tar.bz2
New maintainer makefile for running tests for all default mailbox formats.
* maint/fullcheck.mk: New file. Runs make check for all possible default mailbox formats. * GNUmakefile: Include new file. * NEWS: Update. * configure.ac: Version 3.8.90
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--GNUmakefile1
-rw-r--r--NEWS4
-rw-r--r--configure.ac2
-rw-r--r--maint/fullcheck.mk47
4 files changed, 52 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 5146469..3e1b544 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -4,6 +4,7 @@ ifneq (,$(wildcard Makefile))
include Makefile
include maint/flowgraph.mk
include maint/release.mk
+ include maint/fullcheck.mk
else
$(if $(MAKECMDGOALS),$(MAKECMDGOALS),all):
$(MAKE) -f maint/bootstrap.mk
diff --git a/NEWS b/NEWS
index cc64669..429c636 100644
--- a/NEWS
+++ b/NEWS
@@ -1,9 +1,11 @@
-GNU mailutils NEWS -- history of user-visible changes. 2019-11-06
+GNU mailutils NEWS -- history of user-visible changes. 2019-11-08
Copyright (C) 2002-2019 Free Software Foundation, Inc.
See the end of file for copying conditions.
Please send mailutils bug reports to <bug-mailutils@gnu.org>.
+Version 3.8.90 (git)
+
Version 3.8 - 2019-11-06
* The maidag utility is withdrawn
diff --git a/configure.ac b/configure.ac
index 61a4901..1752145 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,7 +16,7 @@ dnl You should have received a copy of the GNU General Public License along
dnl with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>.
AC_PREREQ(2.63)
-AC_INIT([GNU Mailutils], [3.8], [bug-mailutils@gnu.org], [mailutils],
+AC_INIT([GNU Mailutils], [3.8.90], [bug-mailutils@gnu.org], [mailutils],
[http://mailutils.org])
AC_CONFIG_SRCDIR([libmailutils/mailbox/mailbox.c])
AC_CONFIG_AUX_DIR([build-aux])
diff --git a/maint/fullcheck.mk b/maint/fullcheck.mk
new file mode 100644
index 0000000..038a30c
--- a/dev/null
+++ b/maint/fullcheck.mk
@@ -0,0 +1,47 @@
+# SYNOPSIS
+# make fullcheck
+# DESCRIPTION
+# Runs make check for all possible default mailbox types.
+# PREREQUISITES
+# Main Makefile from the Mailutils top-level source directory must be
+# included atop of this one.
+#
+FORMATS = mbox dotmail mh maildir
+DISTNAME = $(PACKAGE)-$(PACKAGE_VERSION)
+
+fullcheck: $(foreach fmt,$(FORMATS),check-$(fmt))
+ @rmdir fullcheck
+ @text="$(DISTNAME) passed all tests";\
+ echo $$text | sed -e 's/./=/g';\
+ echo $$text;\
+ echo $$text | sed -e 's/./=/g'
+
+fullcheck_dist: $(DISTNAME).tar.gz
+
+$(DISTNAME).tar.gz: ChangeLog
+ make dist distdir=$(DISTNAME)
+
+define fullcheckdir_tmpl
+fullcheckdir-$(1):
+ rm -rf fullcheckdir/$(1)
+ mkdir -p fullcheckdir/$(1)
+endef
+
+define fullcheck_tmpl
+check-$(fmt): fullcheck_dist fullcheckdir-$(fmt)
+ cd fullcheckdir/$(fmt) && \
+ tar xf ../../$(DISTNAME).tar.gz && \
+ cd $(DISTNAME) && \
+ mkdir .build && \
+ cd .build && \
+ ../configure MU_DEFAULT_SCHEME=$(fmt) && \
+ make check
+ rm -rf fullcheckdir/$(fmt)
+endef
+
+$(foreach fmt,$(FORMATS),$(eval $(call fullcheckdir_tmpl,$(fmt))))
+
+$(foreach fmt,$(FORMATS),$(eval $(call fullcheck_tmpl,$(fmt))))
+
+
+

Return to:

Send suggestions and report system problems to the System administrator.