[m-dev.] semi-automated email reminders for test failures

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Feb 28 23:01:00 AEDT 2001


I've implemented a semi-automated system for sending people regular
reminders if they have committed a change into the Mercury cvs
repository that breaks things or causes any of the test cases to fail.

The part which is automated is the daily sending of email.
The way it works is that there's a script
/home/mercury/public/cron/scripts/automail.perl
which is run nightly from cron.  This script scans the file
/home/mercury/public/test_mercury/logs/STATUS, looking for
sections of the form

	[AUTOMAIL <recipient(s)>]
	...
	[END AUTOMAIL]

and sends the relevant section to the specified recipient(s).

The part which remains manual is analyzing the nightly test log files,
seeing what failed, and determining who is (most likely to be) reponsible.
In other words, the STATUS file is still maintained manually.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list