hpc markup fails to create directory when marking up coverage of a package
When writing marked up html files, hpc markup does not create a directory, if needed, for packages.
$ hpc markup --destdir=html Test --fun-entry-count --srcdir=. --srcdir=../../code/vector-space
Writing: Test.hs.html
Writing: vector-space-0.1.4/Data.Cross.hs.html
hpc: html/vector-space-0.1.4/Data.Cross.hs.html: openFile: does not exist (No such file or directory)
$ mkdir html/vector-space-0.1.4
$ hpc markup --destdir=html Test --fun-entry-count --srcdir=. --srcdir=../../code/vector-space
Writing: Test.hs.html
Writing: vector-space-0.1.4/Data.Cross.hs.html
Writing: vector-space-0.1.4/Data.Derivative.hs.html
Writing: vector-space-0.1.4/Data.NumInstances.hs.html
Writing: vector-space-0.1.4/Data.VectorSpace.hs.html
...
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Code Coverage |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |