haskell/cabal — pull request #1947 by sardonicpresence (2014-06-15 14:07:42+00:00)
Title: #1945 Make hpc-related activity conditional on --enable-library-coverage flag

Instead of applying hpc flags directly via 'enableCoverage' I've added a 'withCoverage' flag to LocalBuildInfo that is then checked before setting HPXTIXFILE or calling 'markupTest' or 'markupPackage' and used to generate -fhpc and -hpcdir flags in the GHC-specific code.

Added initially-failing now passing tests to PackageTests/TestSuiteExeV10.