[GHC] #10259: HPC code coverage fails

GHC ghc-devs at haskell.org
Wed Apr 8 16:35:54 UTC 2015


#10259: HPC code coverage fails
-------------------------------------+-------------------------------------
        Reporter:  LukeHoersten      |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:  hpc
Operating System:  MacOS X           |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by LukeHoersten):

 Turns out this was my fault: Using --enable-coverage on cabal install was
 causing deps to get included in the mix file but for some reason no tix
 were being generated for the deps. Either way, I did not want deps to be
 tested for coverage.

 Is this correct behavior that using --enable-coverage on cabal install
 should include deps in the mix file? It seems like that is never correct
 and for someone only using 'cabal install' it will never work for them.

 Also, it's unclear to me when to use -fhpc vs. --enable-coverage. Is there
 anywhere this is documented?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10259#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list