[PATCH] Allow name template in --test-option and --test-options

Johan Tibell johan.tibell at gmail.com
Tue Jan 11 08:36:13 CET 2011


Here's a patch that implements
http://hackage.haskell.org/trac/hackage/ticket/787

Tue Jan 11 08:30:13 CET 2011  Johan Tibell <johan.tibell at gmail.com>
  * Allow name template in --test-option and --test-options

  Only $test-suite is supported for now.

Things 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?

Johan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-option-template.dpatch
Type: application/octet-stream
Size: 118425 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20110111/566f218a/attachment-0001.obj>


More information about the cabal-devel mailing list