Skip to content

Commit

Permalink
Rollup merge of rust-lang#37149 - edunham:more-cargotest, r=alexcrichton
Browse files Browse the repository at this point in the history
Add some more repos to cargotest

From suggestions at https://users.rust-lang.org/t/what-stable-rust-applications-do-you-use-frequently/7618

This adds some applications which use stable Rust and come with their own lockfiles in their respective trees.

ripgrep, xsv, and bins have 33 unique dependencies between them.

I alphabetized the list by project name because that seems tidier.

r? @brson
  • Loading branch information
alexcrichton authored Dec 30, 2016
2 parents e7c788a + a0f3c93 commit 2293ea5
Showing 1 changed file with 38 additions and 13 deletions.
51 changes: 38 additions & 13 deletions src/tools/cargotest/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,44 @@ struct Test {
lock: Option<&'static str>,
}

const TEST_REPOS: &'static [Test] = &[Test {
name: "cargo",
repo: "https://github.com/rust-lang/cargo",
sha: "b7be4f2ef2cf743492edc6dfb55d087ed88f2d76",
lock: None,
},
Test {
name: "iron",
repo: "https://github.com/iron/iron",
sha: "16c858ec2901e2992fe5e529780f59fa8ed12903",
lock: Some(include_str!("lockfiles/iron-Cargo.lock")),
}];

const TEST_REPOS: &'static [Test] = &[
Test {
name: "cargo",
repo: "https://github.com/rust-lang/cargo",
sha: "b7be4f2ef2cf743492edc6dfb55d087ed88f2d76",
lock: None,
},
Test {
name: "iron",
repo: "https://github.com/iron/iron",
sha: "16c858ec2901e2992fe5e529780f59fa8ed12903",
lock: Some(include_str!("lockfiles/iron-Cargo.lock")),
},
Test {
name: "ripgrep",
repo: "https://github.com/BurntSushi/ripgrep",
sha: "b65bb37b14655e1a89c7cd19c8b011ef3e312791",
lock: None,
},
Test {
name: "tokei",
repo: "https://github.com/Aaronepower/tokei",
sha: "5e11c4852fe4aa086b0e4fe5885822fbe57ba928",
lock: None,
},
Test {
name: "treeify",
repo: "https://github.com/dzamlo/treeify",
sha: "999001b223152441198f117a68fb81f57bc086dd",
lock: None,
},
Test {
name: "xsv",
repo: "https://github.com/BurntSushi/xsv",
sha: "5ec4fff4a3f507eda887049469897f02c6fae036",
lock: None,
},
];

fn main() {
// One of the projects being tested here is Cargo, and when being tested
Expand Down

0 comments on commit 2293ea5

Please sign in to comment.