{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/2709","labels_url":"https://api.github.com/repos/haskell/cabal/issues/2709/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/2709/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/2709/events","html_url":"https://github.com/haskell/cabal/issues/2709","id":93404256,"number":2709,"title":"cabal-install's `cabal test` doesn't work on Cabal","user":{"login":"ezyang","id":13564,"avatar_url":"https://avatars.githubusercontent.com/u/13564?v=3","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-06T23:59:04Z","updated_at":"2015-07-07T00:17:58Z","closed_at":"2015-07-07T00:17:58Z","body":"Steps to reproduce:\r\n\r\n1. Fresh checkout of Cabal master\r\n2. `cabal install --enable-test --dependencies-only`\r\n3. `cabal test`\r\n\r\nResult:\r\n\r\n```\r\ncabal: You need to re-run the 'configure' command. The version of Cabal being used has changed (was Cabal-1.9999, now Cabal-1.22.2.0).\r\n```\r\n\r\nIf you run configure, this doesn't solve the problem.\r\n\r\nIt *seems* like the problem is the configuring is always done by the bootstrap Cabal, but cabal test is implemented purely in cabal-install which attempts to read out the info that has the wrong version.\r\n\r\nBuilders don't seem to have this problem because they run the setup executable directly."},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/119033096","html_url":"https://github.com/haskell/cabal/issues/2709#issuecomment-119033096","issue_url":"https://api.github.com/repos/haskell/cabal/issues/2709","id":119033096,"user":{"login":"ezyang","id":13564,"avatar_url":"https://avatars.githubusercontent.com/u/13564?v=3","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T00:17:58Z","updated_at":"2015-07-07T00:17:58Z","body":"Duplicate of #2334 "}}