<br><br><div class="gmail_quote">On Thu, Feb 2, 2012 at 3:13 PM, Antoine Latter <span dir="ltr"><<a href="mailto:aslatter@gmail.com">aslatter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sat, Jan 7, 2012 at 12:59 PM, Antoine Latter <<a href="mailto:aslatter@gmail.com">aslatter@gmail.com</a>> wrote:<br>
> Hi Cabal,<br>
><br>
> When trying to use "cabal install --enable-tests --only-dependencies"<br>
> it appears to be passing the "--enable-tests" option down to the<br>
> dependent packages during build. This isn't what I want at all - I<br>
> only want to use the "--enable-tests" flag for the purpose of building<br>
> an install plan.<br>
><br>
<br>
</div>Hello again,<br>
<br>
I would create a bug for this, except trac is down after massive spamming.<br>
<br>
Can someone review this patch? Sorry to be a bother, but the command<br>
'cabal install --enable-tests --only-dependencies' is actually pretty<br>
common for me, since I do a lot of work with 'cabal-dev' (and so am<br>
re-installing dependencies all the time).</blockquote><div><br></div><div>Thomas Tuegel (CCed) would be the right person to review this.</div><div><br></div><div>If I do</div><div><br></div><div> cabal install --enable-tests --only-dependencies</div>
<div><br></div><div>with your patch I wil install test-suite dependencies of the current package (as in the current directory) only right? That seems like the intended effect. cabal configure --enable-tests is not affected, right?</div>
<div><br></div><div>-- Johan</div><div><br></div></div>