summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-10-31 13:36:14 -0500
committerGitHub <noreply@github.com>2016-10-31 13:36:14 -0500
commitd1993201967d70b679d3cb8a15ab3eb45aa729ae (patch)
treed229100cd9fa051011708182c410ad34e3e94e6f
parent724aa063d3797a82995f313bc447bd55e8520a47 (diff)
parent07a5925fb495179694c28a3c7836eb25fef737b8 (diff)
Auto merge of #174 - fitzgen:small-typos, r=emilio
Fix a small typo and expand batching comment r? @emilio
-rw-r--r--tests/tests.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index 003c0f1a..4cecc2c2 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -92,8 +92,9 @@ fn run_bindgen_tests() {
.and_then(|x| x.parse::<usize>().ok())
.unwrap_or(TEST_BATCH_DEFAULT_SIZE);
- // Spawn batch_size child to run in parallel
- // and wait on all of them before processing the next batch
+ // Spawn `batch_size` children to run in parallel and wait on all of them
+ // before processing the next batch. This puts a limit on the resources
+ // consumed when testing, so that we don't overload the system.
let children = tests.chunks(batch_size).map(|x| {
x.iter().map(|entry| {