From 78e1bab77662b9a23a699320d9dd18a7cab4a8d7 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sat, 9 Nov 2019 11:56:04 +0200 Subject: 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 --- GNUmakefile | 1 + NEWS | 4 +++- configure.ac | 2 +- maint/fullcheck.mk | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 maint/fullcheck.mk diff --git a/GNUmakefile b/GNUmakefile index 514646926..3e1b544e7 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 cc64669fe..429c636be 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 . +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 61a490148..175214576 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 . 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 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)))) + + + -- cgit v1.2.1