How do I get reports on coverage of all modules in a program?<br><br>The documentation I've found <a href="http://blog.unsafeperformio.com/?p=18">http://blog.unsafeperformio.com/?p=18</a> and <a href="http://www.haskell.org/ghc/docs/latest/html/users_guide/hpc.html">
http://www.haskell.org/ghc/docs/latest/html/users_guide/hpc.html</a> both do coverage of a single module. Going the naive route of first making sure there are no compiled modules in my source tree (i.e. removing all .o and .hi files) then running 'ghc --make -fhpc
MyTool.hs' succeeds in building the program, and I get a MyTool.tix and a .mix file in .hpc/ for each module after running it, but how do I get 'hpc' to produce reports containing more than just Main?<br><br>'hpc6 markup MyTool' includes only Main
<br>'hpc6 markup MyTool Main My.Module' includes only Main<br>'hpc6 markup MyTool My.Module' results in an error:<br> Writing: hpc_index.html<br> hpc6: Prelude.foldr1: empty list<br><br>None of the arguments shown by 'hpc6 help markup' stands out as a clear candidate either...
<br><br>'hpc6 report --per-module MyTool' generates this:<br><br>-----<module Main>-----<br> 80% expressions used (386/479)<br>100% boolean coverage (0/0)<br> 100% guards (0/0)<br> 100% 'if' conditions (0/0)
<br> 100% qualifiers (0/0)<br>100% alternatives used (0/0)<br>100% local declarations used (0/0)<br>100% top-level declarations used (17/17)<br><br>Where are my other modules???<br><br>Any and all help is appreciated.
<br><br>/M<br>