[Haskell-cafe] Cabal 1.8 ignores bounds in test-suite sections?

Adam Bergmark adam at bergmark.nl
Tue Dec 9 17:30:41 UTC 2014


I find this unintuitive. Are you configuring with `--enable-tests`?



On Tue, Dec 9, 2014 at 2:09 PM, Tom Ellis <
tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk> wrote:

> On Tue, Dec 09, 2014 at 12:48:17PM +0000, Tom Ellis wrote:
> > I have a cabal file with two test suites
> >
> >
> https://github.com/tomjaguarpaw/haskell-opaleye/blob/master/opaleye.cabal
> >
> > If I change the dependency in "test-suite tutorial", say, from
> `profunctors`
> > to `profunctors >= 0.6` then the bound is completely ignored and cabal
> will
> > attempt to compile and run the test suite even without a suitable version
> > present.
>
> For precision I should say I meant `product-profunctors >= 0.6`.
>
> But in any case the exact example irrelevant since it doesn't matter if I
> specify `product-profunctors >= 100` or `base >= 1000000` in a test-suite
> section.  It's ignored.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141209/ea0e91df/attachment.html>


More information about the Haskell-Cafe mailing list