cabal test and detailed-0.9 strangeness

Daniel Peebles pumpkingod at gmail.com
Mon Jan 10 15:07:25 CET 2011


Yeah, sorry, I am using both cabal and cabal-install HEAD both fetched from
darcs last night.

On Mon, Jan 10, 2011 at 8:43 AM, Duncan Coutts <duncan.coutts at googlemail.com
> wrote:

> On Sun, 2011-01-09 at 19:26 -0600, Thomas Tuegel wrote:
> > On Sun, Jan 9, 2011 at 3:53 PM, Daniel Peebles <pumpkingod at gmail.com>
> wrote:
>
> > > Which seems odd, since there are 2 test cases (not 0 as the output
> claims)
> > > and one of them should definitely be failing (it has a False in it).
> > > Am I doing something wrong?
>
> > Duncan and I made the decision to turn off the detailed type in the
> > current release because it's not totally ready.  You should get a
> > warning to that effect when you run 'cabal configure --enable-tests'
> > with a detailed-type test.  Your tests are not actually passing;
> > they're not even running, but Cabal is failing to produce a useful
> > error message. This is at the top of my to-do list (though I realize
> > that may be little consolation for your wasted time now).
>
> I think Daniel is actually using Cabal HEAD which has the detailed-0.9
> test type enabled. If one tries that test type with the release
> Cabal-1.10 then one does indeed get a warning at configure time.
>
> The behaviour with Cabal-1.10 is:
>
> $ cabal configure --enable-tests
> Resolving dependencies...
> Configuring zlib-0.5.3.1...
> Warning: 'detailed-0.9' is not a supported test suite version.
> The known test suite types are: exitcode-stdio-1.0
>
> $ cabal test
> Running 1 test suites...
> 0 of 1 test suites (0 of 1 test cases) passed.
>
> Daniel can you check if you are indeed using Cabal HEAD or not?
>
> Duncan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20110110/93b2b1fd/attachment.htm>


More information about the cabal-devel mailing list