Re: [Haskell-cafe] GSoC: Improving Cabal's Test Support

2010-04-02 Thread Thomas Tuegel
On Thu, Apr 1, 2010 at 9:36 PM, Ivan Lazar Miljenovic wrote: >> I propose to build a test suite as its own executable, but to avoid >> the problem of granularity by producing an output file detailing the >> success or failure of individual tests and any relevant error >> messages.  The format of t

Re: [Haskell-cafe] GSoC: Improving Cabal's Test Support

2010-04-02 Thread Thomas Tuegel
On Thu, Apr 1, 2010 at 9:13 PM, Rogan Creswick wrote: > On Thu, Apr 1, 2010 at 3:52 PM, Thomas Tuegel wrote: > There are a few frameworks that provide limited degrees of this > functionality.  I've recently added to test-framework so that the > results can be gathered into an xml format that comp

Re: [Haskell-cafe] GSoC: Improving Cabal's Test Support

2010-04-01 Thread Ivan Lazar Miljenovic
Jason Dagit writes: > What I don't understand is how it's possible for the discrepancy to happen. > It's as if ./Setup and cabal-install use different algorithms for > dependency resolution, but as I understand it, both should be using the > Cabal library for that. My only other thought is that

Re: [Haskell-cafe] GSoC: Improving Cabal's Test Support

2010-04-01 Thread Jason Dagit
On Thu, Apr 1, 2010 at 6:13 PM, Rogan Creswick wrote: > On Thu, Apr 1, 2010 at 3:52 PM, Thomas Tuegel wrote: > > > > At this point, the package author need only run: > > > > $ ./Setup configure > > $ ./Setup build > > $ ./Setup test > > My general feeling has been that Setup is being discouraged

Re: [Haskell-cafe] GSoC: Improving Cabal's Test Support

2010-04-01 Thread Ivan Lazar Miljenovic
Thomas Tuegel writes: > There have been two separate suggestions (of which I am aware) of ways > to integrate tests into Cabal. One is to build the tests into their > own executable which uses an error code on exit to indicate test > failure. I personally prefer this suggestion: for my graphviz

Re: [Haskell-cafe] GSoC: Improving Cabal's Test Support

2010-04-01 Thread Rogan Creswick
On Thu, Apr 1, 2010 at 3:52 PM, Thomas Tuegel wrote: > > I propose to build a test suite as its own executable, but to avoid > the problem of granularity by producing an output file detailing the > success or failure of individual tests and any relevant error > messages.  The format of the file wo

[Haskell-cafe] GSoC: Improving Cabal's Test Support

2010-04-01 Thread Thomas Tuegel
Hello community! I've been working on a proposal for Google Summer of Code 2010 to work on improving Cabal's test support, as described on the Haskell SoC Trac [1]. Today I'm looking for feedback to see if what I intend is what people want/need. As you read this, I kindly ask that you consider: