diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-05-01 01:11:44 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-05-01 01:13:53 -0400 |
| commit | d95a6cf91189421cc3174d10aaa910c7376529b8 (patch) | |
| tree | a00be62ba849b74286190cb3aba7ed220c0224b8 /src/bootstrap | |
| parent | b52769b804a12b7045ee1bce893a64045cdb974a (diff) | |
| download | rust-d95a6cf91189421cc3174d10aaa910c7376529b8.tar.gz rust-d95a6cf91189421cc3174d10aaa910c7376529b8.zip | |
Add support for --test-args to cargotest
This allows running a single test without having to wait for all tests to complete.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 965d1162145..814a591b137 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -183,6 +183,7 @@ impl Step for Cargotest { builder, cmd.arg(&cargo) .arg(&out_dir) + .args(builder.config.cmd.test_args()) .env("RUSTC", builder.rustc(compiler)) .env("RUSTDOC", builder.rustdoc(compiler)), ); |
