21 May 08:08
[Hackage] #955: Incorrect hpcdir during cabal test for testsuites w/ library coverage enabled
Hackage <cvs-ghc <at> haskell.org>
2012-05-21 06:08:07 GMT
2012-05-21 06:08:07 GMT
#955: Incorrect hpcdir during cabal test for testsuites w/ library coverage
enabled
----------------------------+-----------------------------------------------
Reporter: albertfong | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.14.0
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion: 7.4.1
Platform: Windows |
----------------------------+-----------------------------------------------
When running "cabal test" on a project configured with "cabal configure
--enable-tests --enable-library-coverage", the hpcdir for test suites
points to dist/hpc/mix/PackageName, not dist/hpc/mix/TestSuiteName.
This results in an aborted run:
{{{
PS C:\Users\Albert Fong\Repositories\working\projects\Simple>
runhaskell.exe .\Setup.hs test -v
Running 3 test suites...
Test suite Tests3: RUNNING...
Test suite Tests3: PASS
Test suite logged to: dist\test\Simple-0.1.0.0-Tests3.log
C:\Users\Albert
Fong\Repositories\working\devenv\tools\ghc-7.4.1\bin\hpc.exe markup
dist\hpc\tix\Tests3\Tests3.tix --hpc
dir=dist\hpc\mix\Simple-0.1.0.0 --destdir=dist\hpc\html\Tests3
--exclude=Main
hpc.exe: can not find Library in ["./dist\\hpc\\mix\\Simple-0.1.0.0"]
PS C:\Users\Albert Fong\Repositories\working\projects\Simple>
(Continue reading)
RSS Feed