-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run the tests #25
Comments
I think the issue is due to the AMP changes. We could try to use nanospec for testing, but I guess there is a reason why it's currently not like that... Sent from mobile
|
I guess we should run with runhaskell on Travis Sent from mobile
|
Its not AMP because I get very similar problems with ghc 7.8. |
Do you have |
Yes, that may be it. |
Having an incredible amount of difficulty simply running the tests.
In PR #23 I mentioned this and you said you run the tests in GHCi. I tried, but this is rather non-trivial because I'm running in a cabal sandbox:
So I installed
hspec
and tried again, only to get a number of errors like:On top of that, the lack of any tests in the cabal file means that the travis script can't build and run the tests.
So I tried to add a testsuite section to the cabal file only to find that the there seems to be a circular dependency between
hspec-expectations
andhspec
andhspec-discover
that cabal doesn't seem to be able to resolve. The solution seems to be to testhspec-expectations
with something other thanhspec
itself.Would you accept a PR that adds a proper working testsuite section to the cabal file?
The text was updated successfully, but these errors were encountered: