Re: New test-suite functionality

2011-01-10 Thread Duncan Coutts
On Fri, 2011-01-07 at 12:02 -0600, Thomas Tuegel wrote: I actually tried to set out doing this today and realized it's not a good idea to do it this way. I think it would be better to add a field such as testEnabled :: Bool to the TestSuite object. This has several advantages: 1. We can

Re: cabal test and detailed-0.9 strangeness

2011-01-10 Thread Duncan Coutts
On Sun, 2011-01-09 at 19:26 -0600, Thomas Tuegel wrote: On Sun, Jan 9, 2011 at 3:53 PM, Daniel Peebles pumpkin...@gmail.com wrote: Which seems odd, since there are 2 test cases (not 0 as the output claims) and one of them should definitely be failing (it has a False in it). Am I doing

patch applied (cabal): Update the changelog for 1.8.0.4, 1.8.0.6 and 1.10.0.0 and 2 others

2011-01-10 Thread Duncan Coutts
Thu Nov 18 12:37:01 PST 2010 Duncan Coutts dun...@haskell.org * Update the changelog for 1.8.0.4, 1.8.0.6 and 1.10.0.0 M ./changelog -2 +42 View patch online:

Re: cabal test and detailed-0.9 strangeness

2011-01-10 Thread Daniel Peebles
Yeah, sorry, I am using both cabal and cabal-install HEAD both fetched from darcs last night. On Mon, Jan 10, 2011 at 8:43 AM, Duncan Coutts duncan.cou...@googlemail.com wrote: On Sun, 2011-01-09 at 19:26 -0600, Thomas Tuegel wrote: On Sun, Jan 9, 2011 at 3:53 PM, Daniel Peebles

[Hackage] #787: --test-option should support template argument

2011-01-10 Thread Hackage
#787: --test-option should support template argument --+- Reporter: tibbe|Owner: Type: enhancement | Status: new Priority: normal |Milestone:

Fwd: The --test-option flag and TEMPLATE arguments

2011-01-10 Thread Duncan Coutts
Probably of interest to other denizens of cabal-devel... -- Forwarded message -- From: Johan Tibell johan.tib...@gmail.com Date: 10 January 2011 22:40 Subject: The --test-option flag and TEMPLATE arguments To: Duncan Coutts duncan.cou...@googlemail.com, Thomas Tuegel

Re: [Hackage] #446: Can't set path to tools in ~/.cabal/config

2011-01-10 Thread Hackage
#446: Can't set path to tools in ~/.cabal/config -+-- Reporter: awick |Owner: Type: defect | Status: new Priority: normal |

[Hackage] #788: Optionally exposed modules / APIs should be banned

2011-01-10 Thread Hackage
#788: Optionally exposed modules / APIs should be banned +--- Reporter: duncan |Owner: Type: defect | Status: new Priority: normal |Milestone:

Re: The --test-option flag and TEMPLATE arguments

2011-01-10 Thread Johan Tibell
Hi all, I had a look at actually implementing the feature this morning but got stuck on the flag parsing. How do I convert , option [] [test-option] (give extra option to test executables ++ (no need to quote options containing spaces)) testOptions (\v

Re: The --test-option flag and TEMPLATE arguments

2011-01-10 Thread Johan Tibell
On Tue, Jan 11, 2011 at 7:44 AM, Johan Tibell johan.tib...@gmail.com wrote: Hi all, I had a look at actually implementing the feature this morning but got stuck on the flag parsing. How do I convert      , option [] [test-option]            (give extra option to test executables