Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove .masquerade_as_nightly_cargo() from build_script_extra_link_arg.rs #10866

Merged
merged 1 commit into from
Jul 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions tests/testsuite/build_script_extra_link_arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ fn build_script_extra_link_arg_bin() {
.build();

p.cargo("build -v")
.masquerade_as_nightly_cargo()
.without_status()
.with_stderr_contains(
"[RUNNING] `rustc --crate-name foo [..]-C link-arg=--this-is-a-bogus-flag[..]",
Expand Down Expand Up @@ -63,7 +62,6 @@ fn build_script_extra_link_arg_bin_single() {
.build();

p.cargo("build -v")
.masquerade_as_nightly_cargo()
.without_status()
.with_stderr_contains(
"[RUNNING] `rustc --crate-name foo [..]-C link-arg=--bogus-flag-all -C link-arg=--bogus-flag-foo[..]",
Expand All @@ -90,7 +88,6 @@ fn build_script_extra_link_arg() {
.build();

p.cargo("build -v")
.masquerade_as_nightly_cargo()
.without_status()
.with_stderr_contains(
"[RUNNING] `rustc --crate-name foo [..]-C link-arg=--this-is-a-bogus-flag[..]",
Expand Down Expand Up @@ -126,7 +123,6 @@ fn link_arg_missing_target() {
);

p.cargo("check")
.masquerade_as_nightly_cargo()
.with_status(101)
.with_stderr("\
[COMPILING] foo [..]
Expand All @@ -141,7 +137,6 @@ The package foo v0.0.1 ([ROOT]/foo) does not have a bin target.
);

p.cargo("check")
.masquerade_as_nightly_cargo()
.with_status(101)
.with_stderr(
"\
Expand All @@ -158,7 +153,6 @@ The package foo v0.0.1 ([ROOT]/foo) does not have a bin target with the name `ab
);

p.cargo("check")
.masquerade_as_nightly_cargo()
.with_status(101)
.with_stderr(
"\
Expand Down Expand Up @@ -261,7 +255,6 @@ fn link_arg_transitive_not_allowed() {
.build();

p.cargo("build -v")
.masquerade_as_nightly_cargo()
.with_stderr(
"\
[UPDATING] [..]
Expand Down Expand Up @@ -303,7 +296,6 @@ fn link_arg_with_doctest() {
.build();

p.cargo("test --doc -v")
.masquerade_as_nightly_cargo()
.without_status()
.with_stderr_contains(
"[RUNNING] `rustdoc [..]--crate-name foo [..]-C link-arg=--this-is-a-bogus-flag[..]",
Expand Down