File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments