Skip to content

Commit ef8ab97

Browse files
authored
Merge pull request #9542 from alt-romes/wip/romes/4798
Update changelog for per-component with coverage #9464
2 parents 4e51eb7 + fab58eb commit ef8ab97

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

changelog.d/pr-9464

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
synopsis: Support per-component builds when coverage is enabled
2+
packages: Cabal cabal-install
3+
prs: #9464
4+
issues: #4798 #5213 #6440 #6397
5+
significance: significant
6+
7+
description: {
8+
9+
Cabal now supports per-component builds when coverage is enabled. This enables
10+
coverage for packages with internal libraries (#6440), and enables coverage for
11+
packages that use backpack (#6397), even though we do not get coverage for
12+
instantiations of an indefinite module (it is not clear what it means for HPC
13+
to support backpack, regardless of Cabal).
14+
15+
To achieve this, hpc information (`.mix` files) from a library is now written
16+
into the package database of a library under `extraCompilationArtifacts`.
17+
18+
Cabal configure (via the Setup interface) now accepts --coverage-for=<unit-id>,
19+
a flag which specifies which libraries should be included in the coverage
20+
report for some testsuite.
21+
22+
}

0 commit comments

Comments
 (0)