Rollup merge of #82622 - jyn514:cargo-test-args, r=Mark-Simulacrum

Propagate `--test-args` for `x.py test src/tools/cargo`

Fixes https://github.com/rust-lang/rust/issues/82621.
This commit is contained in:
Yuki Okushi 2021-03-01 15:07:37 +09:00 committed by GitHub
commit d65b231cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,6 +212,7 @@ impl Step for Cargo {
if !builder.fail_fast {
cargo.arg("--no-fail-fast");
}
cargo.arg("--").args(builder.config.cmd.test_args());
// Don't run cross-compile tests, we may not have cross-compiled libstd libs
// available.