patch: --enable-tests and --only-dependencies

Duncan Coutts duncan.coutts at googlemail.com
Fri Feb 10 17:28:46 CET 2012


On 9 February 2012 18:40, Thomas Tuegel <ttuegel at gmail.com> wrote:

> I just realized that there's a glaring problem with automatically
> running tests: if you call '--enable-tests' on a package that doesn't
> have tests, this gets interpreted as an error. It's an easy fix, but
> it will _require_ modifying Cabal. So, we probably want to pass on the
> 'automatically run tests' patch in the next version of cabal-install.
>
> I think this is probably OK. The other patches (which are really a bug
> fix) can still go in. Running tests automatically is an added feature,
> so I don't think it will bug people too much if it's delayed until the
> next release of Cabal.

Sounds reasonable. Lets push the Cabal lib changes into cabal head,
but make sure that the cabal-install release branch does not require
that fix.

Duncan



More information about the cabal-devel mailing list