Hi Simon,<div><br></div><div>Thanks for trying it out and thanks for the patch. I've pushed it to HEAD.<br><br><div class="gmail_quote">On Tue, Oct 25, 2011 at 11:37 AM, Simon Meier <span dir="ltr"><<a href="mailto:iridcode@gmail.com">iridcode@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have two open questions:<br>
<br>
* Is the >= 1.9.2 interface the right interface? From the changelog, I<br>
would assume that it is already public and contains the test-suite<br>
support only.<br></blockquote><div><br></div><div>Good question. You could either be asking</div><div><br></div><div>* what's the earliest version of Cabal that doesn't blow up when it sees a benchmark sections, or</div>
<div>* what's the earliest version of Cabal that can actually make use of the benchmark section.</div><div><br></div><div>Duncan, which one should be report in the guide? Seems like the latter.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
* It would be cool to have a 'cabal bench' command that builds and<br>
executes the benchmarks.<br></blockquote><div><br></div><div>There already is one, I just haven't documented it yet. It works just like 'cabal test'. Example:</div><div><br></div><div> cabal configure --enable-benchmarks</div>
<div> cabal build</div><div> cabal bench</div><div><br></div><div>See 'cabal help bench' for a list of flags. Right now 'cabal bench' and 'cabal test' won't build the benchmarks/tests if they're not up to date. I don't quite remember the reason. I think it was technical. Duncan? Thomas?</div>
<div><br></div><div>Cheers,</div><div>Johan</div><div><br></div></div></div>