about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-03-01 15:07:37 +0900
committerGitHub <noreply@github.com>2021-03-01 15:07:37 +0900
commitd65b231ceca9ba38c95fb19b8486a09fc7f44fa9 (patch)
treeb71874e73e826ece92a47dc2bcbac6e20a72aaf8 /src
parentb8150e7a3c1eeeff6c7b39855d96e0ab9e9d904a (diff)
parent05140ec091a7913169b2eb1c7687e81cb97d1e8b (diff)
downloadrust-d65b231ceca9ba38c95fb19b8486a09fc7f44fa9.tar.gz
rust-d65b231ceca9ba38c95fb19b8486a09fc7f44fa9.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 49d56f4cbdf..c0cd24dd81f 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -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.