Configuring cabal to tell HPC to ignore certain functions #554
Unanswered
ivanperez-keera
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to configure a cabal package (specifically,
copilot-core
) so that, when HPC is executed during testing with coverage enabled, it ignores certain definitions, for example:Show
).Proxy
doesn't need to be WHNFed.I think there's a way to extract the tix file and modify it, but I'm trying to make this automated, and configure the cabal package so that the right options are passed by cabal to HPC, and that way even hackage will pick it up when it reports the coverage of our library.
Any pointers?
Also posted at: https://www.reddit.com/r/haskell/comments/1g8mm82/configuring_cabal_to_tell_hpc_to_ignore_certain/
Beta Was this translation helpful? Give feedback.
All reactions