#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: | ----------------------------+-----------------------------------------------
Comment(by ttuegel): The patches I just attached apply against Cabal HEAD and enable the following features: * {{{setup configure --enable-library-coverage}}}, which build the library and test suites with {{{-fhpc}}} and an appropriate {{{-hpcdir}}} * When using {{{--enable-library-coverage}}}, {{{setup test collects}}} any {{{.tix}}} files generated by HPC and calls {{{hpc markup}}} to generate an HTML report for each test suite * {{{setup test --keep-tix-files}}}, which instructs setup test to preserve {{{.tix}}} files between test suite runs and generate aggregate statistics. The default is to remove old {{{.tix}}} files at the start of each test run. * Fixes the Cabal test suite to generate proper coverage reports when using {{{--enable-library-coverage}}}. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/467#comment:8> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects _______________________________________________ cabal-devel mailing list cabal-devel@haskell.org http://www.haskell.org/mailman/listinfo/cabal-devel