{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/1828","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/1828/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/1828/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/1828/events","html_url":"https://github.com/rust-lang/cargo/pull/1828","id":97029034,"number":1828,"title":"Compile tests for multiple packages","user":{"login":"fhahn","id":450489,"avatar_url":"https://avatars.githubusercontent.com/u/450489?v=3","gravatar_id":"","url":"https://api.github.com/users/fhahn","html_url":"https://github.com/fhahn","followers_url":"https://api.github.com/users/fhahn/followers","following_url":"https://api.github.com/users/fhahn/following{/other_user}","gists_url":"https://api.github.com/users/fhahn/gists{/gist_id}","starred_url":"https://api.github.com/users/fhahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhahn/subscriptions","organizations_url":"https://api.github.com/users/fhahn/orgs","repos_url":"https://api.github.com/users/fhahn/repos","events_url":"https://api.github.com/users/fhahn/events{/privacy}","received_events_url":"https://api.github.com/users/fhahn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-07-24T11:11:12Z","updated_at":"2015-07-24T11:11:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/1828","html_url":"https://github.com/rust-lang/cargo/pull/1828","diff_url":"https://github.com/rust-lang/cargo/pull/1828.diff","patch_url":"https://github.com/rust-lang/cargo/pull/1828.patch"},"body":"This PR for #1528 is still pretty rough (and so far only added multiple package support for tests), but I wanted to make sure the overall approach is fine.\r\n\r\nI have made some progress and cargo is now able to compile and execute tests for multiple packages. \r\n\r\nIn order to execute the doc tests for multiple packages as well, I added `to_doc_test` to `Compilation` (used [here](https://github.com/fhahn/cargo/commit/8b8df3e8d5abfa638852f55730d2f3cb4eec66bc#diff-417e085367d0ce027505dfaa26a089d3R33)). Previously it only executed the doc tests for `Compilation.package`. Another option would be to change `Compilation.package` to be a `Vec<Package>`, because in order to execute the tests of multiple packages, multiple packages are compiled as \"top level package\". But this would require a changes at a couple of other places."},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/124477623","html_url":"https://github.com/rust-lang/cargo/pull/1828#issuecomment-124477623","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/1828","id":124477623,"user":{"login":"rust-highfive","id":7378925,"avatar_url":"https://avatars.githubusercontent.com/u/7378925?v=3","gravatar_id":"","url":"https://api.github.com/users/rust-highfive","html_url":"https://github.com/rust-highfive","followers_url":"https://api.github.com/users/rust-highfive/followers","following_url":"https://api.github.com/users/rust-highfive/following{/other_user}","gists_url":"https://api.github.com/users/rust-highfive/gists{/gist_id}","starred_url":"https://api.github.com/users/rust-highfive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rust-highfive/subscriptions","organizations_url":"https://api.github.com/users/rust-highfive/orgs","repos_url":"https://api.github.com/users/rust-highfive/repos","events_url":"https://api.github.com/users/rust-highfive/events{/privacy}","received_events_url":"https://api.github.com/users/rust-highfive/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T11:11:24Z","updated_at":"2015-07-24T11:11:24Z","body":"r? @alexcrichton\n\n(rust_highfive has picked a reviewer for you, use r? to override)"}}