<br><br><div class="gmail_quote">On Thu, Feb 2, 2012 at 3:13 PM, Antoine Latter <span dir="ltr">&lt;<a href="mailto:aslatter@gmail.com">aslatter@gmail.com</a>&gt;</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 &lt;<a href="mailto:aslatter@gmail.com">aslatter@gmail.com</a>&gt; wrote:<br>
&gt; Hi Cabal,<br>
&gt;<br>
&gt; When trying to use &quot;cabal install --enable-tests --only-dependencies&quot;<br>
&gt; it appears to be passing the &quot;--enable-tests&quot; option down to the<br>
&gt; dependent packages during build.  This isn&#39;t what I want at all - I<br>
&gt; only want to use the &quot;--enable-tests&quot; flag for the purpose of building<br>
&gt; an install plan.<br>
&gt;<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>
&#39;cabal install --enable-tests --only-dependencies&#39; is actually pretty<br>
common for me, since I do a lot of work with &#39;cabal-dev&#39; (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>