Skip to content

Commit d65b231

Browse files
authored
Rollup merge of #82622 - jyn514:cargo-test-args, r=Mark-Simulacrum
Propagate `--test-args` for `x.py test src/tools/cargo` Fixes #82621.
2 parents b8150e7 + 05140ec commit d65b231

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/test.rs

+1
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ impl Step for Cargo {
212212
if !builder.fail_fast {
213213
cargo.arg("--no-fail-fast");
214214
}
215+
cargo.arg("--").args(builder.config.cmd.test_args());
215216

216217
// Don't run cross-compile tests, we may not have cross-compiled libstd libs
217218
// available.

0 commit comments

Comments
 (0)