Portability | portable |
---|---|
Maintainer | cabal-devel@haskell.org |
This module provides functions for locating various HPC-related paths and a function for adding the necessary options to a PackageDescription to build test suites with HPC enabled.
- hpcDir :: FilePath -> FilePath -> FilePath
- enableCoverage :: Bool -> String -> PackageDescription -> PackageDescription
- tixDir :: FilePath -> TestSuite -> FilePath
- tixFilePath :: FilePath -> TestSuite -> FilePath
- doHpcMarkup :: Verbosity -> FilePath -> String -> TestSuite -> IO ()
- findTixFiles :: FilePath -> TestSuite -> IO [FilePath]
Documentation
:: Bool | Enable coverage? |
-> String | "dist/" prefix |
-> PackageDescription | |
-> PackageDescription |
Conditionally enable Haskell Program Coverage by adding the necessary GHC options to a PackageDescription.
TODO: do this differently in the build stage by constructing local build info, not by modifying the original PackageDescription.
Path to the .tix file containing a test suite's sum statistics.
Generate the HTML markup for a test suite.