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

Johan Tibell johan.tibell at gmail.com
Tue Jan 11 09:06:27 CET 2011

I've created a patch that implements


and attached it to the ticket.

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?


More information about the cabal-devel mailing list