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

Johan Tibell johan.tibell at gmail.com
Fri Feb 17 17:58:14 CET 2012


On Fri, Feb 17, 2012 at 7:35 AM, Andres Löh <andres at well-typed.com> wrote:
> So, let me ask whether it's really the right decision that tests and
> benchmarks are never installed? I agree that they're *mainly* useful
> for development, but aren't there cases where one might want to have
> tests and benchmarks be run on a client machines, as part of debugging
> a problem?

I don't think users want to run or install tests (or benchmarks) when they say

    cabal install --enable-tests

What I think they want to say is

    cabal configure-and-build-why-does-cabal-make-me-write-so-much-stuff-manually
--enable-tests --also-pull-in-deps

but we don't really have a way to say that.



More information about the cabal-devel mailing list