about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-06-19 01:52:07 +0200
committerGitHub <noreply@github.com>2019-06-19 01:52:07 +0200
commit4f2471574548c1cd0ef0f65c03eae525147fb1a8 (patch)
tree9c2bdaedf52f925fa3a7ee89146a0587f19ad658
parentde8066f73f8a3ed856d4bbc7445ab9c2212d5466 (diff)
parentea1bec3a8afbc79c8c1a5b989e1c3d2425400040 (diff)
downloadrust-4f2471574548c1cd0ef0f65c03eae525147fb1a8.tar.gz
rust-4f2471574548c1cd0ef0f65c03eae525147fb1a8.zip
Rollup merge of #61843 - alexcrichton:disable-myriad-closures, r=pietroalbini
Turn down the myriad-closures test

This tests takes nearly 5 minutes to compile on CI where the CPUs we
have aren't exactly the fastest. This test does actually require all
closures to exist to exhibit the original bug, but it seems a little
excessive to test a single bug on CI on all platforms which simply pegs
a single CPU for 5 minutes with no parallelism opportunities, so this
turns down the test to still exercise it somewhat at least.
-rw-r--r--src/test/run-pass-fulldeps/myriad-closures.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass-fulldeps/myriad-closures.rs b/src/test/run-pass-fulldeps/myriad-closures.rs
index a1ea0e685d6..a6d3530f139 100644
--- a/src/test/run-pass-fulldeps/myriad-closures.rs
+++ b/src/test/run-pass-fulldeps/myriad-closures.rs
@@ -32,7 +32,7 @@ macro_rules! mk_fn {
 }
 
 fn main() {
-    // Make 2^12 functions, each containing 16 closures,
-    // resulting in 2^16 closures overall.
-    go_bacterial!(mk_fn 1 1 1 1  1 1 1 1  1 1 1 1);
+    // Make 2^8 functions, each containing 16 closures,
+    // resulting in 2^12 closures overall.
+    go_bacterial!(mk_fn 1 1 1 1  1 1 1 1);
 }