[m-rev.] diff: fix mundroo test schedule
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue May 20 03:29:54 AEST 2003
Estimated hours taken: 1
Branches: main
tools/run_all_tests_from_cron:
Fix a bug where the tests on mundroo were all being run on
the main branch, rather than (as the documentation here suggested)
testing the release branch once a week.
The problem was that this script was only running the release
branch when day = 6 (Saturday), but the tests on mundroo
were only being run on Sun, Wed, and Fri, not Sat.
I changed the script to test for day = 6 or day = 0.
Also test only the release branch on aral.
Workspace: /home/mercury/public/test_mercury/scripts/mercury
Index: tools/run_all_tests_from_cron
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/run_all_tests_from_cron,v
retrieving revision 1.59
diff -u -d -r1.59 run_all_tests_from_cron
--- tools/run_all_tests_from_cron 17 Jan 2003 07:47:04 -0000 1.59
+++ tools/run_all_tests_from_cron 19 May 2003 17:12:37 -0000
@@ -78,11 +78,12 @@
DAY=`date '+%e'`
case $HOST in
taifun|mundroo)
- # For these hosts we only run 3 times a week.
- # On Monday and Thursday, test the main branch.
- # On Sunday, test the release branch.
+ # For these hosts we only run 3 times a week;
+ # twice during the week and once on the weekend.
+ # During the week, test the main branch.
+ # On the weekend, test the release branch.
case `date '+%w'` in
- 6) BRANCH=$release_branch ;;
+ 0|6) BRANCH=$release_branch ;;
*) BRANCH=latest ;;
esac
;;
@@ -96,6 +97,13 @@
*[13579]) BRANCH=$release_branch ;;
*) BRANCH=latest ;;
esac
+ ;;
+ aral)
+ #
+ # Aral has limited disk space, and not having to expend it
+ # on the release branch helps conserve it.
+ #
+ BRANCH=latest
;;
*)
#
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list