forked from rust-lang/cargo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize integration tests as one crate with many modules. Issue ru…
- Loading branch information
1 parent
b80af35
commit c2ff988
Showing
74 changed files
with
107 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
tests/bad-manifest-path.rs → tests/testsuite/bad_manifest_path.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
extern crate cargotest; | ||
extern crate cargo; | ||
extern crate hamcrest; | ||
|
||
use std::str; | ||
|
||
use cargo::util::process; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
tests/build-script-env.rs → tests/testsuite/build_script_env.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
extern crate cargotest; | ||
extern crate hamcrest; | ||
|
||
use std::fs::File; | ||
|
||
use cargotest::sleep_ms; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
tests/cargo_alias_config.rs → tests/testsuite/cargo_alias_config.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ authors = ["Alex Crichton <[email protected]>"] | |
path = "lib.rs" | ||
|
||
[dependencies] | ||
cargo = { path = "../.." } | ||
cargo = { path = "../../.." } | ||
filetime = "0.1" | ||
flate2 = "1.0" | ||
git2 = { version = "0.6", default-features = false } | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
extern crate cargo; | ||
extern crate cargotest; | ||
extern crate hamcrest; | ||
|
||
use std::str::FromStr; | ||
use std::fmt; | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
#[macro_use] | ||
extern crate cargotest; | ||
extern crate hamcrest; | ||
|
||
use std::fs::File; | ||
use std::io::prelude::*; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
extern crate cargotest; | ||
extern crate hamcrest; | ||
|
||
use std::fs::{self, File}; | ||
use std::io::prelude::*; | ||
|
||
|
3 changes: 0 additions & 3 deletions
3
tests/generate-lockfile.rs → tests/testsuite/generate_lockfile.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
extern crate cargotest; | ||
extern crate hamcrest; | ||
|
||
use std::fs::{self, File}; | ||
use std::io::prelude::*; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
extern crate cargo; | ||
#[macro_use] | ||
extern crate cargotest; | ||
extern crate hamcrest; | ||
extern crate tempdir; | ||
extern crate bufstream; | ||
extern crate git2; | ||
extern crate glob; | ||
extern crate flate2; | ||
extern crate tar; | ||
extern crate libc; | ||
#[cfg(windows)] | ||
extern crate winapi; | ||
#[macro_use] | ||
extern crate serde_derive; | ||
extern crate serde_json; | ||
extern crate toml; | ||
extern crate url; | ||
|
||
|
||
mod alt_registry; | ||
mod bad_config; | ||
mod bad_manifest_path; | ||
mod bench; | ||
mod build_auth; | ||
mod build_lib; | ||
mod build; | ||
mod build_script_env; | ||
mod build_script; | ||
mod cargo_alias_config; | ||
mod cargo_features; | ||
//mod cargo; | ||
mod cfg; | ||
mod check; | ||
mod clean; | ||
mod concurrent; | ||
mod config; | ||
mod cross_compile; | ||
mod cross_publish; | ||
mod death; | ||
mod dep_info; | ||
mod directory; | ||
mod doc; | ||
mod features; | ||
mod fetch; | ||
mod freshness; | ||
mod generate_lockfile; | ||
mod git; | ||
mod init; | ||
mod install; | ||
mod jobserver; | ||
mod local_registry; | ||
mod lockfile_compat; | ||
mod login; | ||
mod metadata; | ||
mod net_config; | ||
mod new; | ||
mod overrides; | ||
mod package; | ||
mod patch; | ||
mod path; | ||
mod plugins; | ||
mod proc_macro; | ||
mod profiles; | ||
mod publish; | ||
mod read_manifest; | ||
mod registry; | ||
mod required_features; | ||
mod resolve; | ||
mod run; | ||
mod rustc; | ||
mod rustdocflags; | ||
mod rustdoc; | ||
mod rustflags; | ||
mod search; | ||
mod small_fd_limits; | ||
mod test; | ||
mod tool_paths; | ||
mod verify_project; | ||
mod version; | ||
mod warn_on_failure; | ||
mod workspaces; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
#[macro_use] | ||
extern crate cargotest; | ||
extern crate hamcrest; | ||
|
||
use std::fs::{self, File}; | ||
use std::io::prelude::*; | ||
|
||
|
3 changes: 0 additions & 3 deletions
3
tests/lockfile-compat.rs → tests/testsuite/lockfile_compat.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.