haddock test suite

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Fri Jun 21 13:10:02 CEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21/06/13 11:08, Richard Eisenberg wrote:
> Hi all,
> 
> 
> 
> I've implemented the proposal at 
> http://hackage.haskell.org/trac/ghc/wiki/NewAxioms/Nonlinearity,
> which involved a few changes to HsDecl datatypes (FamilyDecl,
> TyFamInstDecl, etc.), thus requiring a change to Haddock. I tried
> to be as minimal as I could there, but prudence tells me I should
> run the haddock test suite. How do I do so? The instructions seem
> to say I should just `cabal test`, but that requires `cabal build`,
> which fails, seemingly because of import path issues:
> 
> 
> 
> cam-05-unx:10:59:54 /5playpen/eir/ghc/head/utils/haddock> cabal
> build
> 
> Building haddock-2.13.2...
> 
> Preprocessing library haddock-2.13.2...
> 
> 
> 
> src/Haddock/Convert.hs:29:8:
> 
> Could not find module `CoAxiom'
> 
> Use -v to see a list of the files searched for.
> 
> 
> 
> 
> 
> Any advice?
> 
> 
> 
> Separately, I see that Haddock does not generate any output for
> type family instances. I'd be happy to bring someone up to speed
> about the new type families and such so that this gap could be
> closed.
> 
> 
> 
> Thanks!
> 
> Richard
> 
> 
> 
> 
> _______________________________________________ ghc-devs mailing
> list ghc-devs at haskell.org 
> http://www.haskell.org/mailman/listinfo/ghc-devs
> 
This means your GHC is too old. Compile from git and try again.

Out of interest, can you post a link to the changes you made to
Haddock if they are up online?

- -- 
Mateusz K.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBAgAGBQJRxDSKAAoJEM1mucMq2pqXWrMQAIDAs/S/jOYgjxC4wMtq06zK
yCc0XkT8ZLtY5awIFP78lYe7dOGcnTYXfort73CYC/l0I74B/pb896o9r0Mop3/N
S2JMp3ZzvBmo7nosYnkClY3sNjk3c8eefVL0HS8vgHYCQ1TreH23AU8Bxxf8QNm2
u6Y+aMIVgnT1bynAo+vJb14o2zFSzAnM49q+03uPai1mN5SkKHiizcpvp9PKkipb
N3U+z8ZWAOUHADfr2lYi2uW7x+yvWpuvmeX6zMLERgTcUnlaLS29Gia0Doxadq9g
VtSwQGpuoWrh9ZhnT7fvZXxZK+DQDE0hl+wkwHrXuMDvS6eXejXzT1ltDEFroBnC
ls3pZevyNE1O2dlsA5Pd4fZ12SBgq7Sgq3sQgC3hokxZ033aut5iTt6WAPY8lfRR
IWbSIMz7Pvg4NesntvMe72g6p2tB7B2BH205wF5QFY+DH5FGBmIUBeVFMsFnwHHy
yLeMtNpfjufR6+sGIHKCeSmtmVsPkJ0Sw0hNCehxrlmfC4XGmzQ/QfMX8p2nqec9
3q6SttYy3xcwydxFZzx6x/fWKMJaL8cI3plt8QRDQKqzz0hNxwsFpgPx2Pq1FEK9
Yhxup/rNFKyin/DJdeNb7MckSHdavXs8J+gpnDAp1BFLY0/pp60AmUgyxsUjeIf4
czopRzZ18vnTxfOdKpLT
=+izQ
-----END PGP SIGNATURE-----



More information about the ghc-devs mailing list