[GHC] #10952: Use IPids instead of package keys in HPC tix files

GHC ghc-devs at haskell.org
Mon Nov 23 13:42:22 UTC 2015


#10952: Use IPids instead of package keys in HPC tix files
-------------------------------------+-------------------------------------
        Reporter:  mgsloan           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Code Coverage     |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Feuerbach):

 I've just run into this issue.

 Here's my problem.

 I want to merge tix files produced by running unit tests (via "stack
 test") and integration tests (via running actual executables that use the
 libraries being tested). As it happens, stack (via Cabal) runs tests by
 using an in-place version of the library, while the executable is using
 the properly installed version. This prevents me from merging the tix
 files and causes a lot of headache.

 If my understanding is correct, IPIDs by themselves won't help me; hpc
 will also need to learn to merge data from different installations of the
 same package.

 I do need this for 7.10 (not necessarily the official release; I can build
 ghc myself, although a release would be nice). I can also invest a bit of
 time into this if someone (Ed?) gave me directions.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10952#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list