[GHC] #12065: there is a way to override the .tix path with HPCTIXFILE

#12065: there is a way to override the .tix path with HPCTIXFILE -------------------------------------+------------------------------------- Reporter: kostmo | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Documentation Unknown/Multiple | bug Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Under the [https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/hpc.html#idp... "Caveats and Shortcomings of Haskell Program Coverage" section], it says:
There is no way to change the name of the .tix file generated, apart from renaming the binary.
However, specifying `HPCTIXFILE` as an environment variable when running the executable program does change the output path of the `.tix` file. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12065 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12065: there is a way to override the .tix path with HPCTIXFILE -------------------------------------+------------------------------------- Reporter: kostmo | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Code Coverage | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * component: Documentation => Code Coverage Comment: Thanks. It seems `HPCTIXDIR` isn't documented either. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12065#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12065: there is a way to override the .tix path with HPCTIXFILE -------------------------------------+------------------------------------- Reporter: kostmo | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: Component: Code Coverage | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Documentation | Unknown/Multiple bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3357 Wiki Page: | -------------------------------------+------------------------------------- Changes (by dfeuer): * status: new => patch * differential: => Phab:D3357 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12065#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12065: there is a way to override the .tix path with HPCTIXFILE
-------------------------------------+-------------------------------------
Reporter: kostmo | Owner: (none)
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Code Coverage | Version: 8.0.1
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Documentation | Unknown/Multiple
bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D3357
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by thomie):
* status: patch => closed
* resolution: => fixed
Comment:
In [changeset:"ee7241cfde455ab6731b9ce81b36247f082a1342/ghc"]:
{{{
Author: Edward Z. Yang
participants (1)
-
GHC