commercialhaskell / commercialhaskell/stack

Pass options to HPC (like --xml-output)

Open
#4,307 3 comments 0 reactions 0 assignees View on GitHub
component: benchmark component: coverage component: options parsing component: profiling help wanted type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

I could not find a way to pass options to HPC (as documented in https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/profiling.html#hpc-report).

The one I am particularly interested in is `--xml-output` to be able to parse coverage (and hopefully convert it into SonarQube-compatible code coverage later). I could not find an equivalent in `stack`, `stack hpc` or `stack hpc report` documentation/help.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.