[m-rev.] for review: improve test framework

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Aug 15 14:56:29 AEST 2002


On 15-Aug-2002, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> On 15-Aug-2002, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> > +# SUBDIRS - the names of any subdirectories containing tests.
> 
> In think one of the problems with the current system is that you can't run the
> tests in e.g. the hard_coded directory without also running the tests in the
> hard_coded/exceptions, hard_coded/purity, hard_coded/sub-modules and
> hard_coded/typeclasses directories.

Sure you can.

	cd hard_coded
	mmake depend_local
	mmake check_local

> I think it would be simpler as well as more flexible if we listed all the
> directories containing test cases in the top level tests directory,
> regardless of whether they are direct or indirect subdirectories of the tests
> directory.

That would mean there was no way to say "run all the tests in this
directory and any of its subdirectories".

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