summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-11-09 11:56:04 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-11-09 11:56:04 +0200
commit78e1bab77662b9a23a699320d9dd18a7cab4a8d7 (patch)
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
-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 514646926..3e1b544e7 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,11 +1,12 @@
# Maintainer's make file for mailutils.
#
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
$(MAKE) $(MAKECMDGOALS)
endif
diff --git a/NEWS b/NEWS
index cc64669fe..429c636be 100644
--- a/NEWS
+++ b/NEWS
@@ -1,12 +1,14 @@
-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
The main purpose of this utility was to work as local mail delivery
agent (MDA), a program responsible for final delivery of email messages
diff --git a/configure.ac b/configure.ac
index 61a490148..175214576 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,13 +13,13 @@ dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
dnl
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])
AM_INIT_AUTOMAKE([gnits 1.11 dist-bzip2 dist-xz std-options silent-rules])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
diff --git a/maint/fullcheck.mk b/maint/fullcheck.mk
new file mode 100644
index 000000000..038a30cf5
--- /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.