mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Update tests now that 1.88 is stable
This commit is contained in:
parent
d36c0aeed0
commit
5c19611910
@ -5602,17 +5602,14 @@ test check_target ... ok
|
||||
"#]])
|
||||
.run();
|
||||
|
||||
// Remove check once 1.88 is stable
|
||||
if cargo_test_support::is_nightly() {
|
||||
p.cargo("test --workspace --doc --target")
|
||||
.arg(&target)
|
||||
.with_stdout_data(str![[r#"
|
||||
p.cargo("test --workspace --doc --target")
|
||||
.arg(&target)
|
||||
.with_stdout_data(str![[r#"
|
||||
...
|
||||
test foo/src/lib.rs - (line 2) ... ok
|
||||
...
|
||||
"#]])
|
||||
.run();
|
||||
}
|
||||
.run();
|
||||
}
|
||||
|
||||
#[cargo_test]
|
||||
|
@ -1136,10 +1136,7 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fini
|
||||
.run();
|
||||
}
|
||||
|
||||
#[cargo_test(
|
||||
nightly,
|
||||
reason = "waiting for 1.88 to be stable for doctest xcompile flags"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn doctest_xcompile_linker() {
|
||||
if cross_compile_disabled() {
|
||||
return;
|
||||
|
@ -1987,11 +1987,9 @@ fn compatible_with_older_cargo() {
|
||||
middle = "1.0"
|
||||
"#,
|
||||
);
|
||||
// TODO: Remove -Zgc after 1.82 is stabilized.
|
||||
rustup_cargo()
|
||||
.args(&["+stable", "check", "-Zgc"])
|
||||
.args(&["+stable", "check"])
|
||||
.cwd(p.root())
|
||||
.masquerade_as_nightly_cargo(&["gc"])
|
||||
.env("__CARGO_TEST_LAST_USE_NOW", months_ago_unix(2))
|
||||
.run();
|
||||
assert_eq!(get_registry_names("src"), ["middle-1.0.0", "new-1.0.0"]);
|
||||
|
@ -4742,10 +4742,7 @@ fn test_dep_with_dev() {
|
||||
.run();
|
||||
}
|
||||
|
||||
#[cargo_test(
|
||||
nightly,
|
||||
reason = "waiting for 1.88 to be stable for doctest xcompile flags"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn cargo_test_doctest_xcompile_ignores() {
|
||||
// Check ignore-TARGET syntax.
|
||||
let p = project()
|
||||
@ -4782,10 +4779,7 @@ test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; fini
|
||||
.run();
|
||||
}
|
||||
|
||||
#[cargo_test(
|
||||
nightly,
|
||||
reason = "waiting for 1.88 to be stable for doctest xcompile flags"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn cargo_test_doctest_xcompile_runner() {
|
||||
if !cross_compile_can_run_on_host() {
|
||||
return;
|
||||
@ -4868,10 +4862,7 @@ this is a runner
|
||||
.run();
|
||||
}
|
||||
|
||||
#[cargo_test(
|
||||
nightly,
|
||||
reason = "waiting for 1.88 to be stable for doctest xcompile flags"
|
||||
)]
|
||||
#[cargo_test]
|
||||
fn cargo_test_doctest_xcompile_no_runner() {
|
||||
if !cross_compile_can_run_on_host() {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user