{"action":"created","issue":{"url":"https://api.github.com/repos/gelisam/hawk/issues/141","labels_url":"https://api.github.com/repos/gelisam/hawk/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/gelisam/hawk/issues/141/comments","events_url":"https://api.github.com/repos/gelisam/hawk/issues/141/events","html_url":"https://github.com/gelisam/hawk/issues/141","id":63530520,"number":141,"title":"How to run the tests?","user":{"login":"gelisam","id":49000,"avatar_url":"https://avatars.githubusercontent.com/u/49000?v=3","gravatar_id":"","url":"https://api.github.com/users/gelisam","html_url":"https://github.com/gelisam","followers_url":"https://api.github.com/users/gelisam/followers","following_url":"https://api.github.com/users/gelisam/following{/other_user}","gists_url":"https://api.github.com/users/gelisam/gists{/gist_id}","starred_url":"https://api.github.com/users/gelisam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gelisam/subscriptions","organizations_url":"https://api.github.com/users/gelisam/orgs","repos_url":"https://api.github.com/users/gelisam/repos","events_url":"https://api.github.com/users/gelisam/events{/privacy}","received_events_url":"https://api.github.com/users/gelisam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gelisam/hawk/labels/testing","name":"testing","color":"00C800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-22T13:07:32Z","updated_at":"2015-03-22T14:38:13Z","closed_at":null,"body":"Running `cabal install --enable-tests` used to be enough to run the tests in the background, but it doesn't seem to do so anymore; maybe cabal-install changed? Also, running `cabal test` afterwards complains that I haven't run `cabal configure`; shouldn't `cabal install` perform this step implicitly?"},"comment":{"url":"https://api.github.com/repos/gelisam/hawk/issues/comments/84620620","html_url":"https://github.com/gelisam/hawk/issues/141#issuecomment-84620620","issue_url":"https://api.github.com/repos/gelisam/hawk/issues/141","id":84620620,"user":{"login":"gelisam","id":49000,"avatar_url":"https://avatars.githubusercontent.com/u/49000?v=3","gravatar_id":"","url":"https://api.github.com/users/gelisam","html_url":"https://github.com/gelisam","followers_url":"https://api.github.com/users/gelisam/followers","following_url":"https://api.github.com/users/gelisam/following{/other_user}","gists_url":"https://api.github.com/users/gelisam/gists{/gist_id}","starred_url":"https://api.github.com/users/gelisam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gelisam/subscriptions","organizations_url":"https://api.github.com/users/gelisam/orgs","repos_url":"https://api.github.com/users/gelisam/repos","events_url":"https://api.github.com/users/gelisam/events{/privacy}","received_events_url":"https://api.github.com/users/gelisam/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T14:38:13Z","updated_at":"2015-03-22T14:38:13Z","body":"I think the configure step *has* been performed by `cabal install`, but that it has been performed on a different version of `Cabal` (exactly like the error message says, actually). I don't know why it's doing that. \r\n\r\nWhen running the tests with ghc 7.10 (see #140), the error message is much worse:\r\n\r\n    cabal: Prelude.chr: bad argument: 2956230\r\n\r\nBut the [explanation](https://github.com/haskell/cabal/issues/2251) of this error message is compatible with the hypothesis that `cabal install` and `cabal test` are using different versions of Cabal for some reason. I suspect this must be somehow due to the fact that hawk is using a custom Setup.hs?"}}