cabal test and detailed-0.9 strangeness
duncan.coutts at googlemail.com
Mon Jan 10 14:43:14 CET 2011
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
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?
More information about the cabal-devel