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

Hackage cvs-ghc at haskell.org
Tue Jan 11 09:11:27 CET 2011

#787: --test-option should support template argument
  Reporter:  tibbe                |        Owner:      
      Type:  enhancement          |       Status:  new 
  Priority:  normal               |    Milestone:      
 Component:  cabal-install tool   |      Version:  HEAD
  Severity:  normal               |     Keywords:      
Difficulty:  very easy (<1 hour)  |   Ghcversion:      
  Platform:                       |  

Comment(by tibbe):

 I've attached a patch that implements the basic functionality. There are a
 few things we might want to discuss:

  * Which templates placeholders should we support. I only added `$test-
 suite`. Supporting all of the placeholders supported by `--log` will
 require some refactoring as the placeholders are computer after the test
 has been run, using a file output by the test executable.

  * Is it OK to use `PathTemplate` for template strings which aren't
 necessarily paths or should we introduce a new `Template` type?

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/787#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list