Portability | portable |
---|---|
Maintainer | cabal-devel@haskell.org |
Safe Haskell | None |
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.
- data Way
- guessWay :: LocalBuildInfo -> Way
- htmlDir :: FilePath -> Way -> FilePath -> FilePath
- mixDir :: FilePath -> Way -> FilePath -> FilePath
- tixDir :: FilePath -> Way -> FilePath -> FilePath
- tixFilePath :: FilePath -> Way -> FilePath -> FilePath
- markupPackage :: Verbosity -> LocalBuildInfo -> FilePath -> String -> [TestSuite] -> IO ()
- markupTest :: Verbosity -> LocalBuildInfo -> FilePath -> String -> TestSuite -> IO ()
Documentation
guessWay :: LocalBuildInfo -> Way
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.
:: FilePath | "dist/" prefix |
-> Way | |
-> FilePath | Component name |
-> FilePath | Path to test suite's HTML markup directory |
:: FilePath | "dist/" prefix |
-> Way | |
-> FilePath | Component name |
-> FilePath | Directory containing test suite's .mix files |
:: FilePath | "dist/" prefix |
-> Way | |
-> FilePath | Component name |
-> FilePath | Directory containing test suite's .tix files |
:: FilePath | "dist/" prefix |
-> Way | |
-> FilePath | Component name |
-> FilePath | Path to test suite's .tix file |
Path to the .tix file containing a test suite's sum statistics.
:: Verbosity | |
-> LocalBuildInfo | |
-> FilePath | "dist/" prefix |
-> String | Library name |
-> [TestSuite] | |
-> IO () |
Generate the HTML markup for all of a package's test suites.
:: Verbosity | |
-> LocalBuildInfo | |
-> FilePath | "dist/" prefix |
-> String | Library name |
-> TestSuite | |
-> IO () |
Generate the HTML markup for a test suite.