Copyright | Thomas Tuegel 2011 |
---|---|
License | BSD3 |
Maintainer | cabal-devel@haskell.org |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
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.
Synopsis
- data Way
- guessWay :: LocalBuildInfo -> Way
- htmlDir :: FilePath -> Way -> FilePath
- mixDir :: FilePath -> Way -> FilePath
- tixDir :: FilePath -> Way -> FilePath
- tixFilePath :: FilePath -> Way -> FilePath -> FilePath
- data HPCMarkupInfo = HPCMarkupInfo {}
- markupPackage :: Verbosity -> HPCMarkupInfo -> LocalBuildInfo -> FilePath -> PackageDescription -> [TestSuite] -> IO ()
Documentation
guessWay :: LocalBuildInfo -> Way Source #
Attempt to guess the way the test suites in this package were compiled and linked with the library so the correct module interfaces are found.
Path to the .tix file containing a test suite's sum statistics.
data HPCMarkupInfo Source #
Haskell Program Coverage information required to produce a valid HPC report through the `hpc markup` call for the package libraries.
HPCMarkupInfo | |
|
:: Verbosity | |
-> HPCMarkupInfo | |
-> LocalBuildInfo | |
-> FilePath | Testsuite "dist/" prefix |
-> PackageDescription | |
-> [TestSuite] | |
-> IO () |
Generate the HTML markup for a package's test suites.