Testing containers outside of ghc source tree

Ian Lynagh igloo at earth.li
Sat Sep 24 15:41:08 CEST 2011


On Fri, Sep 23, 2011 at 03:41:56PM +0200, Joachim Breitner wrote:
> 
> > ghc: unrecognised flags: -fno-ghci-history
> > 
> > What I aim for is to have a fast/short way of doing some experimental changes
> > and running only the containers testsuite with my own changes included. How do I
> > get to doing this?
> 
> I don’t think the Makefile works outside the ghc tree.

The testsuite works outside of a GHC tree, although for the tests that
are in libraries/*/tests you need to arrange things so that the driver
can be found.

However, the HEAD testsuite driver is designed to be used with the HEAD,
so may need tweaking to work with older compilers. In this case, the
-fno-ghci-history flag isn't supported by any released version yet.


Thanks
Ian




More information about the Libraries mailing list