[m-dev.] for review: install all needed grades before testing

Mark Anthony BROWN dougl at cs.mu.OZ.AU
Thu Aug 24 15:52:41 AEST 2000


Fergus Henderson writes:
> On 23-Aug-2000, Mark Anthony BROWN <dougl at cs.mu.OZ.AU> wrote:
> > Ok, how about something like the following?  It's a bit of a double
> > maintenance problem, so I've added a comment.
> > 
> > 
> > Estimated hours taken: 1.5
> > 
> > tools/test_mercury:
> > 	Install the libraries in grade asm_fast.gc.prof on hydra, before
> > 	the tests are run in that grade.
> > 
> > Index: tools/test_mercury
> > ===================================================================
> > RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
> > retrieving revision 1.116
> > diff -u -r1.116 test_mercury
> > --- tools/test_mercury	2000/08/16 08:14:58	1.116
> > +++ tools/test_mercury	2000/08/22 15:22:50
> > @@ -320,10 +320,13 @@
> >  	|| status=1
> >  
> >  	# If you want to add extra grades to install on specific hosts,
> > -	# do it here.
> > +	# do it here.  Any grade which is tested later, but which is not
> > +	# installed above, should be installed here.
> >      case $HOST in
> >      	hg)	mmake install_grades LIBGRADES="asm_fast.par.gc" || status=1
> >  		;;
> > +	hydra)	mmake install_grades LIBGRADES="asm_fast.gc.prof" || status=1
> > +		;;
> >  	*)
> >  		;;
> >      esac
> > @@ -430,6 +433,9 @@
> >  
> >  #MERCURY_COMPILER=$DIR/mercury/stage2/compiler/mercury_compile
> >  #export MERCURY_COMPILER
> > +
> > +# Any grade here that is not installed by default needs to be explicitly
> > +# installed above, before the tests are run.
> >  case $HOST in
> >  	mundook|murlibobo)
> >  		GRADES="none none.gc
> > 
> > 
> > Cheers,
> > Mark.
> > 
> > --------------------------------------------------------------------------
> > 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
> > --------------------------------------------------------------------------
> 
> The comment changes in that diff are good.
> The change to add asm_fast.gc.prof on hydra should not be committed,
> but it would be useful to commit the comment changes.
> 

Done.

Cheers,
Mark.

--------------------------------------------------------------------------
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