[Haskell-cafe] Cabal test interface, what/where is it?

Henning Thielemann lemming at henning-thielemann.de
Fri Mar 18 22:52:47 CET 2011

On Fri, 18 Mar 2011, Magnus Therning wrote:

> On Fri, Mar 18, 2011 at 10:13:21PM +0100, Daniel Fischer wrote:
>> On Friday 18 March 2011 21:51:27, Magnus Therning wrote:
>>> However, I can't seem to get the test's sources included in the
>>> tar-ball created by 'sdist'.  Is there some trick to it?
>> extra-source-files?
> That field can't be used in a test-suite section.  Furthermore, not
> even the file mentioned in the 'main-is' field is included in the
> source tar-ball.

Extra-Source-Files can be used in the main section (even before Library). 
However, if files mentioned in test-suite are not included in the tarball, 
this is certainly a bug.

More information about the Haskell-Cafe mailing list