about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2021-08-16 17:01:33 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2021-08-16 19:22:27 +0200
commit9c21da6ecec2e9668b27647baa2e5ed2dcd462b7 (patch)
treebfd35d32d720907c5c2d8aa5b90bf5abf531f1ee /src/bootstrap
parent73d96b090bb68065cd3a469b27cbd568e39bf0e7 (diff)
downloadrust-9c21da6ecec2e9668b27647baa2e5ed2dcd462b7.tar.gz
rust-9c21da6ecec2e9668b27647baa2e5ed2dcd462b7.zip
Take into account jobs number for rustdoc gui tests
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")