ModuleCabal-3.18.1.0Haskell2010
Distribution.Simple.Hpc
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.
- 2 types
- 6 values
- PackageCabal-3.18.1.0
- Exports8
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceHpc.hs
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.
tixFilePath :: SymbolicPath Pkg ('Dir Dist)"dist/" prefix
-> Way-> FilePathComponent name
-> SymbolicPath Pkg 'FilePath to test suite's .tix file
Path to the .tix file containing a test suite's sum statistics.
Haskell Program Coverage information required to produce a valid HPC report through the `hpc markup` call for the package libraries.
Constructors
HPCMarkupInfopathsToLibsArtifacts :: [SymbolicPath Pkg ('Dir Artifacts)]The paths to the library components whose modules are included in the coverage report
libsModulesToInclude :: [ModuleName]The modules to include in the coverage report
markupPackage :: Verbosity-> HPCMarkupInfo-> LocalBuildInfo-> SymbolicPath Pkg ('Dir Dist)Testsuite "dist/" prefix
-> PackageDescription-> [TestSuite]-> IO ()
Generate the HTML markup for a package's test suites.