The reason is simply I have a bunch of tests I want to run that require some common infrastructure (in this case a certain package needs to be initially setup). I'd rather not duplicate the infrastructure for each test. I can instead of using 'alone' put the tests into a make file test case, basically collapsing them into one test. A little unsatisfying but probably the best solution and seems to be what is done in other areas of the testsuite.
On 12 July 2011 13:20, Ian Lynagh <[email protected]> wrote: > On Tue, Jul 12, 2011 at 01:14:42PM -0700, David Terei wrote: >> >> They should be fixed. I kept the tests dependent on each other but >> added the 'alone' function to the setup field of the tests so that >> they aren't run in parallel. Let me know if this approach is ill >> advised but seems to work fine. > > It works, but it's slow. Unless there's a reason the tests need to be > run alone (e.g. some of the dph tests require a large amount of memory, > so running them in parallel with other things can cause problems), they > shouldn't use 'alone'. > > > Thanks > Ian > > _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
