From 38ff031904226ea8ccace1a6a9dc8d8b0f6367fe Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Fri, 21 Oct 2011 12:36:36 +0300 Subject: Testsuite: add banners before groups of related tests. --- libmailutils/tests/address.at | 2 ++ libmailutils/tests/list.at | 2 ++ libmailutils/tests/mailcap.at | 2 ++ libmailutils/tests/prop.at | 2 ++ libmailutils/tests/testsuite.at | 10 ++++++++-- libmailutils/tests/url.at | 2 ++ libmailutils/tests/wicket.at | 2 ++ libmailutils/tests/wordsplit.at | 2 ++ mh/tests/ali.at | 1 + mh/tests/anno.at | 1 + mh/tests/burst.at | 1 + mh/tests/comp.at | 1 + mh/tests/folder.at | 1 + mh/tests/forw.at | 1 + mh/tests/inc.at | 1 + mh/tests/install-mh.at | 1 + mh/tests/mark.at | 1 + mh/tests/mhl.at | 1 + mh/tests/mhn.at | 1 + mh/tests/mhparam.at | 1 + mh/tests/mhpath.at | 1 + mh/tests/mhseq.at | 1 + mh/tests/pick.at | 1 + mh/tests/refile.at | 1 + mh/tests/repl.at | 2 ++ mh/tests/rmf.at | 2 ++ mh/tests/rmm.at | 2 ++ mh/tests/scan.at | 2 ++ mh/tests/send.at | 2 ++ mh/tests/sortm.at | 2 ++ sieve/tests/testsuite.at | 20 +++++++++++++++----- 31 files changed, 65 insertions(+), 7 deletions(-) diff --git a/libmailutils/tests/address.at b/libmailutils/tests/address.at index 8e5b03c13..cbf546c00 100644 --- a/libmailutils/tests/address.at +++ b/libmailutils/tests/address.at @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(Email address) + dnl ------------------------------------------------------------ dnl TESTADDR(ADDR, [KW = `'], [STATUS = `0'], [STDOUT = `'], dnl [STDERR = `'], [RUN-IF-FAIL], [RUN-IF-PASS]) diff --git a/libmailutils/tests/list.at b/libmailutils/tests/list.at index 393c4fab4..eab485b97 100644 --- a/libmailutils/tests/list.at +++ b/libmailutils/tests/list.at @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(List) + dnl ------------------------------------------------------------ dnl TESTLIST([NAME], [KW = `'], [INPUT], [STDOUT = `'], dnl [STDERR = `'], [RUN-IF-FAIL], [RUN-IF-PASS]) diff --git a/libmailutils/tests/mailcap.at b/libmailutils/tests/mailcap.at index a9a9baf93..b16dfc3c0 100644 --- a/libmailutils/tests/mailcap.at +++ b/libmailutils/tests/mailcap.at @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(Mailcap) + dnl ------------------------------------------------------------ dnl MAILCAP([NAME], [KW = `'], [INPUT], [STDOUT = `'], dnl [STDERR = `'], [RUN-IF-FAIL], [RUN-IF-PASS]) diff --git a/libmailutils/tests/prop.at b/libmailutils/tests/prop.at index c87717d21..74ad13a65 100644 --- a/libmailutils/tests/prop.at +++ b/libmailutils/tests/prop.at @@ -15,6 +15,8 @@ # along with GNU Mailutils. If not, see . # This file is part of Mailfromd testsuite. +AT_BANNER(Property) + dnl ------------------------------------------------------------------ dnl TESTPROP([NAME], [KW = `'], [PROG], [STDOUT = `'], [STDERR = `']) dnl diff --git a/libmailutils/tests/testsuite.at b/libmailutils/tests/testsuite.at index 46629dd4d..31b082108 100644 --- a/libmailutils/tests/testsuite.at +++ b/libmailutils/tests/testsuite.at @@ -59,13 +59,19 @@ m4_include([address.at]) m4_include([wordsplit.at]) m4_include([url.at]) m4_include([mailcap.at]) +m4_include([wicket.at]) +m4_include([prop.at]) + +AT_BANNER(Base64) m4_include([base64e.at]) m4_include([base64d.at]) + +AT_BANNER(RFC 2047) m4_include([decode2047.at]) m4_include([encode2047.at]) + +AT_BANNER(Filters) m4_include([fromflt.at]) -m4_include([wicket.at]) -m4_include([prop.at]) m4_include([inline-comment.at]) m4_include([hdrflt.at]) m4_include([linecon.at]) diff --git a/libmailutils/tests/url.at b/libmailutils/tests/url.at index c0669e2aa..bfb8db634 100644 --- a/libmailutils/tests/url.at +++ b/libmailutils/tests/url.at @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(URL) + dnl ------------------------------------------------------------ dnl TESTURL([NAME], [KW = `'], [INPUT], [STDOUT = `'], dnl [STDERR = `'], [RUN-IF-FAIL], [RUN-IF-PASS]) diff --git a/libmailutils/tests/wicket.at b/libmailutils/tests/wicket.at index e049ebe99..9b1fb3cec 100644 --- a/libmailutils/tests/wicket.at +++ b/libmailutils/tests/wicket.at @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(Wicket) + dnl ------------------------------------------------------------ dnl TESTWICKET(URL, [KW = `'], [STDOUT = `'], dnl [STDERR = `'], [RUN-IF-FAIL], [RUN-IF-PASS]) diff --git a/libmailutils/tests/wordsplit.at b/libmailutils/tests/wordsplit.at index bedb51fb3..8625f9538 100644 --- a/libmailutils/tests/wordsplit.at +++ b/libmailutils/tests/wordsplit.at @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(Wordsplit) + dnl ------------------------------------------------------------ dnl TESTWSP([NAME], [KW = `'], [OPTS], [INPUT], [STDOUT = `'], dnl [STDERR = `'], [ENV]) diff --git a/mh/tests/ali.at b/mh/tests/ali.at index 8b640c7ee..4686aa8a2 100644 --- a/mh/tests/ali.at +++ b/mh/tests/ali.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(ali) m4_pushdef([MH_KEYWORDS],[ali]) MH_CHECK([ali: simple aliases],[ali00],[ diff --git a/mh/tests/anno.at b/mh/tests/anno.at index 3256f6b70..25bed0911 100644 --- a/mh/tests/anno.at +++ b/mh/tests/anno.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(anno) m4_pushdef([MH_KEYWORDS],[anno]) MH_CHECK([anno],[anno00],[ diff --git a/mh/tests/burst.at b/mh/tests/burst.at index f244fdff5..302688cac 100644 --- a/mh/tests/burst.at +++ b/mh/tests/burst.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(burst) m4_pushdef([MH_KEYWORDS],[burst]) MH_CHECK([burst digest],[burst00 burst-digest],[ diff --git a/mh/tests/comp.at b/mh/tests/comp.at index 30af5710e..b264f2532 100644 --- a/mh/tests/comp.at +++ b/mh/tests/comp.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(comp) m4_pushdef([MH_KEYWORDS],[comp]) m4_pushdef([compcmd],[comp -editor $abs_top_srcdir/mh/tests/mhed]) diff --git a/mh/tests/folder.at b/mh/tests/folder.at index 6b616aaae..a63720083 100644 --- a/mh/tests/folder.at +++ b/mh/tests/folder.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(folder) m4_pushdef([MH_KEYWORDS],[folder]) MH_CHECK([folder],[folder00 folder-print],[ diff --git a/mh/tests/forw.at b/mh/tests/forw.at index cd8ad7377..29f83b783 100644 --- a/mh/tests/forw.at +++ b/mh/tests/forw.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(forw) m4_pushdef([MH_KEYWORDS],[forw]) m4_pushdef([forwcmd],[forw -editor $abs_top_srcdir/mh/tests/mhed]) diff --git a/mh/tests/inc.at b/mh/tests/inc.at index 1003acd3f..83a651a56 100644 --- a/mh/tests/inc.at +++ b/mh/tests/inc.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(inc) m4_pushdef([MH_KEYWORDS],[inc]) MH_CHECK([inc -notruncate],[inc00 inc-notruncate],[ diff --git a/mh/tests/install-mh.at b/mh/tests/install-mh.at index e5be71724..9853f01c4 100644 --- a/mh/tests/install-mh.at +++ b/mh/tests/install-mh.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(install-mh) AT_SETUP([install-mh -auto]) AT_KEYWORDS([install-mh install-mh00]) diff --git a/mh/tests/mark.at b/mh/tests/mark.at index 531c3558c..3646e6c40 100644 --- a/mh/tests/mark.at +++ b/mh/tests/mark.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(mark) m4_pushdef([MH_KEYWORDS],[mark]) MH_CHECK([mark -add],[mark00 mark-add],[ diff --git a/mh/tests/mhl.at b/mh/tests/mhl.at index c136a663b..501c8afa9 100644 --- a/mh/tests/mhl.at +++ b/mh/tests/mhl.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(mhl) m4_pushdef([MH_KEYWORDS],[mhl]) MH_CHECK([mhl],[mhl00],[ diff --git a/mh/tests/mhn.at b/mh/tests/mhn.at index 95caed9b4..d55d4e73c 100644 --- a/mh/tests/mhn.at +++ b/mh/tests/mhn.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(mhn) m4_pushdef([MH_KEYWORDS],[mhn]) dnl ------------------------------------------------------------------- diff --git a/mh/tests/mhparam.at b/mh/tests/mhparam.at index 9720dd0ea..6d40e8a81 100644 --- a/mh/tests/mhparam.at +++ b/mh/tests/mhparam.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(mhparam) m4_pushdef([MH_KEYWORDS],[mhparam]) MH_CHECK([mhparam -all],[mhparam00 mhparam-all],[ diff --git a/mh/tests/mhpath.at b/mh/tests/mhpath.at index 57b8fd528..439d00fe7 100644 --- a/mh/tests/mhpath.at +++ b/mh/tests/mhpath.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(mhpath) m4_pushdef([MH_KEYWORDS],[mhpath]) MH_CHECK([mhpath],[mhpath00],[ diff --git a/mh/tests/mhseq.at b/mh/tests/mhseq.at index 8ca1596b8..ed5ca8fb2 100644 --- a/mh/tests/mhseq.at +++ b/mh/tests/mhseq.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(mhseq) m4_pushdef([MH_KEYWORDS],[mhseq mh-sequences]) dnl --------------------------------------------------------------- diff --git a/mh/tests/pick.at b/mh/tests/pick.at index b6efebd9f..726b4bdb3 100644 --- a/mh/tests/pick.at +++ b/mh/tests/pick.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(pick) m4_pushdef([MH_KEYWORDS],[pick]) MH_CHECK([pick -from],[pick00 pick-from],[ diff --git a/mh/tests/refile.at b/mh/tests/refile.at index e8a35c8bd..17d8568bc 100644 --- a/mh/tests/refile.at +++ b/mh/tests/refile.at @@ -14,6 +14,7 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(refile) m4_pushdef([MH_KEYWORDS],[refile]) MH_CHECK([refile],[refile00],[ diff --git a/mh/tests/repl.at b/mh/tests/repl.at index d3879e02f..a70a4da8b 100644 --- a/mh/tests/repl.at +++ b/mh/tests/repl.at @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(repl) + m4_pushdef([MH_KEYWORDS],[repl]) m4_pushdef([replcmd],[repl dnl -editor $abs_top_srcdir/mh/tests/mhed]) diff --git a/mh/tests/rmf.at b/mh/tests/rmf.at index 34b864cc4..c348e0fff 100644 --- a/mh/tests/rmf.at +++ b/mh/tests/rmf.at @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(rmf) + m4_pushdef([MH_KEYWORDS],[rmf]) MH_CHECK([rmf +folder],[rmf00 rmf+folder],[ diff --git a/mh/tests/rmm.at b/mh/tests/rmm.at index 310cd39e4..1977532d3 100644 --- a/mh/tests/rmm.at +++ b/mh/tests/rmm.at @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(rmm) + m4_pushdef([MH_KEYWORDS],[rmm]) MH_CHECK([rmm msg],[rmm00 rmm-msg],[ diff --git a/mh/tests/scan.at b/mh/tests/scan.at index a5aabffc2..782f99646 100644 --- a/mh/tests/scan.at +++ b/mh/tests/scan.at @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(scan) + m4_pushdef([MH_KEYWORDS],[scan]) MH_CHECK([scan],[scan00],[ diff --git a/mh/tests/send.at b/mh/tests/send.at index ad5154d70..e9a405d60 100644 --- a/mh/tests/send.at +++ b/mh/tests/send.at @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(send) + m4_pushdef([MH_KEYWORDS],[send]) MH_CHECK([send file],[send00 send-file],[ diff --git a/mh/tests/sortm.at b/mh/tests/sortm.at index c0af3bb94..bdf2f8cc1 100644 --- a/mh/tests/sortm.at +++ b/mh/tests/sortm.at @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with GNU Mailutils. If not, see . +AT_BANNER(sortm) + m4_pushdef([MH_KEYWORDS],[sortm]) m4_pushdef([scancmd],[scan -format '%4(msg)%<(cur)+%| %> %02(mon{date})/%02(mday{date}) %24(friendly{from}) %{subject}']) diff --git a/sieve/tests/testsuite.at b/sieve/tests/testsuite.at index d2c44260d..c5bceae30 100644 --- a/sieve/tests/testsuite.at +++ b/sieve/tests/testsuite.at @@ -114,25 +114,35 @@ AT_INIT AT_TESTED([sieve]) m4_include([version.at]) + +AT_BANNER(Compilation) m4_include([compile.at]) + +AT_BANNER(Actions) m4_include([false.at]) m4_include([true.at]) m4_include([not.at]) m4_include([action.at]) +m4_include([redirect.at]) +m4_include([reject.at]) + +AT_BANNER(Tests) m4_include([address.at]) m4_include([allof.at]) m4_include([anyof.at]) m4_include([envelope.at]) m4_include([exists.at]) m4_include([header.at]) +m4_include([relational.at]) +m4_include([size.at]) +m4_include([mul-addr.at]) + +AT_BANNER(Comparators) m4_include([i-casemap.at]) m4_include([i-numeric.at]) m4_include([i-octet.at]) -m4_include([mul-addr.at]) -m4_include([relational.at]) -m4_include([size.at]) -m4_include([redirect.at]) -m4_include([reject.at]) + +AT_BANNER(Extensions) m4_include([ext.at]) m4_include([moderator.at]) m4_include([pipeact.at]) -- cgit v1.2.1