Fwd: The --test-option flag and TEMPLATE arguments
Duncan Coutts
duncan.coutts at googlemail.com
Tue Jan 11 00:18:52 CET 2011
Probably of interest to other denizens of cabal-devel...
---------- Forwarded message ----------
From: Johan Tibell <johan.tibell at gmail.com>
Date: 10 January 2011 22:40
Subject: The --test-option flag and TEMPLATE arguments
To: Duncan Coutts <duncan.coutts at googlemail.com>, Thomas Tuegel
<ttuegel at gmail.com>
After setting up a Hudson continuous build for the network package
I've filed http://hackage.haskell.org/trac/hackage/ticket/787
The feature request is pretty straightforward; allow template
placeholders in --test-option. The problem is that the PathTemplate
type seems designed for directory paths (no surprise their I guess).
If I want to support template placeholders in a flag argument that's
not necessarily a path, should I still use it?
Aside: I think this feature will give us much bang-for-the-buck. It,
together with better HPC support, would allow us to fully integrate
building of Cabal package with main stream continuous build systems,
such as Hudson. We could even add a Cabal plugin for Hudson that would
allow anyone to point Hudson at a repo containing a Cabal package and
have it
* configure and build the package,
* run the tests,
* provide detailed test run feedback,
* show test coverage, and
* build haddocks.
We're almost there, have a look at
http://johantibell.com:8080/job/network/
Johan
More information about the cabal-devel
mailing list