[GHC] #10259: HPC code coverage fails

GHC ghc-devs at haskell.org
Tue Apr 7 19:36:20 UTC 2015


#10259: HPC code coverage fails
-------------------------------------+-------------------------------------
        Reporter:  LukeHoersten      |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:  hpc
Operating System:  MacOS X           |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Description changed by LukeHoersten:

Old description:

> in a completely clean sandbox environment:
>
> cabal install --dependencies-only --enable-tests --enable-coverage
> --enable-benchmarks
> cabal build test --dependencies-only --enable-tests --enable-coverage
> --enable-benchmarks
> cabal test project --test-options=--html=dist/tasty/index.html
>
> Command: cabal test project --test-options=--html=dist/tasty/index.html
> Exit code: 1
> Stderr:
> hpc: can not find text_IINWRW1LxFGIctooOLjJAI/Data.Text.Unsafe in
> ["./.hpc","./dist/hpc/vanilla/mix/project-0.1.0.0","./dist/hpc/vanilla/mix
> /project-test"]
>
> $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 7.10.1
>
> $ cabal --version
> cabal-install version 1.22.2.0
> using version 1.22.2.0 of the Cabal library
>
> $ clang --version
> Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
> Target: x86_64-apple-darwin14.3.0
> Thread model: posix
>
> OS X version 10.10.3
>
> Installed from home-brew and Haskell for Mac OS X both have the same
> problem.

New description:

 in a completely clean sandbox environment:

 cabal install --dependencies-only --enable-tests --enable-coverage
 --enable-benchmarks
 cabal build test --enable-tests --enable-coverage --enable-benchmarks
 cabal test project --test-options=--html=dist/tasty/index.html

 Command: cabal test project --test-options=--html=dist/tasty/index.html
 Exit code: 1
 Stderr:
 hpc: can not find text_IINWRW1LxFGIctooOLjJAI/Data.Text.Unsafe in
 ["./.hpc","./dist/hpc/vanilla/mix/project-0.1.0.0","./dist/hpc/vanilla/mix
 /project-test"]

 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.10.1

 $ cabal --version
 cabal-install version 1.22.2.0
 using version 1.22.2.0 of the Cabal library

 $ clang --version
 Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
 Target: x86_64-apple-darwin14.3.0
 Thread model: posix

 OS X version 10.10.3

 Installed from home-brew and Haskell for Mac OS X both have the same
 problem.

--

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


More information about the ghc-tickets mailing list