about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-08-18 19:55:00 +0200
committerGitHub <noreply@github.com>2021-08-18 19:55:00 +0200
commitfe025a71a15044d16f367714f83d32a46a51f32c (patch)
tree54764ba33411233d405d2c83c209e825a9ae680c /src/bootstrap
parent016f691068fee70a99d2c0024ebe26b3e10f02d5 (diff)
parent9c21da6ecec2e9668b27647baa2e5ed2dcd462b7 (diff)
downloadrust-fe025a71a15044d16f367714f83d32a46a51f32c.tar.gz
rust-fe025a71a15044d16f367714f83d32a46a51f32c.zip
Rollup merge of #88082 - GuillaumeGomez:rustdoc-gui-jobs-opt, r=dns2utf8
Take into account jobs number for rustdoc GUI tests

Fixes #88054.

r? `@Mark-Simulacrum`
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/test.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 9effdb2c959..d12e86b7c1d 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -933,6 +933,8 @@ impl Step for RustdocGUI {
         let mut command = Command::new(&nodejs);
         command
             .arg(builder.build.src.join("src/tools/rustdoc-gui/tester.js"))
+            .arg("--jobs")
+            .arg(&builder.jobs().to_string())
             .arg("--doc-folder")
             .arg(out_dir.join("doc"))
             .arg("--tests-folder")