Skip to content

Commit 3aba9da

Browse files
committed
Revert "test(compiler): add test for verbose flag forwarding"
This reverts commit 7f1545e.
1 parent c3916b9 commit 3aba9da

1 file changed

Lines changed: 0 additions & 39 deletions

File tree

‎tests/testsuite/rustc.rs‎

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -898,42 +898,3 @@ fn build_with_duplicate_crate_types() {
898898
"#]])
899899
.run();
900900
}
901-
902-
#[cargo_test]
903-
fn verbose_flag_forwarded_to_rustc_for_local_only() {
904-
cargo_test_support::registry::Package::new("bar", "1.0.0")
905-
.file("src/lib.rs", "pub fn bar() {}")
906-
.publish();
907-
908-
let p = project()
909-
.file(
910-
"Cargo.toml",
911-
r#"
912-
[package]
913-
name = "foo"
914-
version = "0.1.0"
915-
edition = "2015"
916-
917-
[dependencies]
918-
bar = "1.0"
919-
"#,
920-
)
921-
.file("src/lib.rs", "extern crate bar; pub fn main() {}")
922-
.build();
923-
924-
p.cargo("build -v")
925-
.with_stderr_data(str![[r#"
926-
[UPDATING] `dummy-registry` index
927-
[LOCKING] 1 package to latest compatible version
928-
[DOWNLOADING] crates ...
929-
[DOWNLOADED] bar v1.0.0 (registry `dummy-registry`)
930-
[COMPILING] bar v1.0.0
931-
[RUNNING] `rustc --crate-name bar [..]`
932-
[COMPILING] foo v0.1.0 ([ROOT]/foo)
933-
[RUNNING] `rustc --crate-name foo [..]`
934-
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
935-
936-
"#]])
937-
.with_stderr_does_not_contain("[RUNNING] `rustc --crate-name bar [..] --verbose`")
938-
.run();
939-
}

0 commit comments

Comments
 (0)