[Hackage] #467: Add support for HPC profiling.

Hackage cvs-ghc at haskell.org
Tue Jan 11 12:33:01 CET 2011


#467: Add support for HPC profiling.
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:           
      Type:  enhancement    |       Status:  new      
  Priority:  normal         |    Milestone:  Cabal-1.8
 Component:  Cabal library  |      Version:  1.6.0.1  
  Severity:  normal         |     Keywords:           
Difficulty:  normal         |   Ghcversion:           
  Platform:                 |  
----------------------------+-----------------------------------------------
Changes (by ttuegel):

 * cc: ttuegel@… (added)


Comment:

 Replying to [comment:3 tibbe]:
 > Currently the best way to get test coverage is to:
 >
 > {{{
 > cabal configure --enable-tests --ghc-option=-fhpc
 > cabal build
 > cabal test
 > hpc markup <test-suite-binary.tix>
 > }}}
 >
 > This dumps a bunch of HTML files in the root directory of the package.

 Working on this last night, I tried following your instructions, but I get
 no tix file.  Could you confirm for me which version of GHC you are using?

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/467#comment:6>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list