Add test target to cabal #5

Merged
merged 1 commit into from Sep 27, 2012

Projects

None yet

2 participants

@gliptak
Contributor
gliptak commented Sep 25, 2012

No description provided.

@patperry
Owner

Thanks for the patch. I'm having some trouble with hpc coverage:

$ cabal configure --enable-tests --enable-library-coverage
Resolving dependencies...
Configuring monte-carlo-0.4.2...

$ cabal test
Running 1 test suites...
Test suite monte-carlo-test: RUNNING...
Test suite monte-carlo-test: PASS
Test suite logged to: dist/test/monte-carlo-0.4.2-monte-carlo-test.log
hpc: can not find Control.Monad.MC.Walker in ["./dist/hpc/mix/monte-carlo-0.4.2"]

Is this the right way to run the test? I've never used cabal-based testing before.

@gliptak
Contributor
gliptak commented Sep 25, 2012

I have seen this error too. The test standalone works. I submitted

haskell/cabal#1049

to discuss.

@patperry patperry merged commit 472b7ed into patperry:master Sep 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment