killy971 / hpc-coveralls

coveralls.io support for haskell code coverage with hpc
http://hackage.haskell.org/package/hpc-coveralls
BSD 3-Clause "New" or "Revised" License
60 stars 20 forks source link

confused by -0.1 version #57

Open aeyakovenko opened 8 years ago

aeyakovenko commented 8 years ago
$ ~/.cabal/bin/hpc-coveralls perf-RBM rbm-0.1 test-RBM test-Matrix test-MLP --display-report --repo-token=15KpYJ4FssvAiuhg5OBivEQbPYPn6aMSW
Couldn't find the file dist/hpc/vanilla/tix/rbm-0.1/rbm-0.tix

shouldn't it be looking for rbm-0.1? Here is my build log for reference: https://travis-ci.org/aeyakovenko/rbm/builds/100285697

and thank you for the awesome tool!

killy971 commented 8 years ago

I think the bug is due to the fact that the function Trace.Hpc.Tix.getTixFileName calls System-FilePath-Posix.replaceExtension with the value rbm-0.1, and eventually replaces the "extension" (.1) by .tix. I would suggest to avoid dots in the test suite names for now.