Skip to content

Commit 7a121ad

Browse files
committed
bootstrap: propagate test-args to miri and clippy test suites
1 parent 3137f8e commit 7a121ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/bootstrap/test.rs

+4
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ impl Step for Miri {
439439
cargo.env("RUSTC_LIB_PATH", builder.rustc_libdir(compiler));
440440
cargo.env("MIRI_PATH", miri);
441441

442+
cargo.arg("--").args(builder.config.cmd.test_args());
443+
442444
builder.add_rustc_lib_path(compiler, &mut cargo);
443445

444446
if !try_run(builder, &mut cargo.into()) {
@@ -545,6 +547,8 @@ impl Step for Clippy {
545547
// clippy tests need to find the driver
546548
cargo.env("CLIPPY_DRIVER_PATH", clippy);
547549

550+
cargo.arg("--").args(builder.config.cmd.test_args());
551+
548552
builder.add_rustc_lib_path(compiler, &mut cargo);
549553

550554
try_run(builder, &mut cargo.into());

0 commit comments

Comments
 (0)