Any remaining test patches?

Johan Tibell johan.tibell at
Wed Jun 29 09:38:29 CEST 2011

On Tue, Jun 28, 2011 at 7:28 PM, Thomas Tuegel <ttuegel at> wrote:
> I've been working on this new interface and a test runner for it, and
> I've made a discovery about this property of "exclusivity"
> (alternately, "concurrent safety") that I think I should share.
> Exclusivity is not a property of individual tests, but of test groups.
> If you think carefully about the (admittedly pathological) case of a
> test suite with only one test case, you see that it doesn't matter
> whether it is marked as exclusive or not: it will be run both
> concurrently and sequentially with all the other tests. Exclusivity
> only exists when there is more than one test.

I don't think this is necessarily the case. If you put concurrentSafe
on a test you'd then partition tests like so

    (safe, unsafe) = partition isConcurrentSafe tests

and then run all of the safe tests (possibly in parallel) and then all
the unsafe tests one by one.


More information about the cabal-devel mailing list