summaryrefslogtreecommitdiff
path: root/dhall/tests
diff options
context:
space:
mode:
authorNadrieril2019-03-03 15:17:31 +0100
committerNadrieril2019-03-03 15:17:31 +0100
commit8c22856983fb30f5dc46786b3c3fc40b9bcab44e (patch)
tree975551b519434e8c1a57b60d48a8d399f00c07f2 /dhall/tests
parent029d126ec06523f94fcf29e3a3b58bd8f7e2c83e (diff)
Brutally increase stack size
Diffstat (limited to 'dhall/tests')
-rw-r--r--dhall/tests/macros.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/dhall/tests/macros.rs b/dhall/tests/macros.rs
index 5dec825..911d7d8 100644
--- a/dhall/tests/macros.rs
+++ b/dhall/tests/macros.rs
@@ -39,8 +39,12 @@ macro_rules! make_spec_test {
#[allow(unused_variables)]
#[allow(unused_imports)]
fn $name(){
+ use std::thread;
use dhall::*;
- run_spec_test!($type, $path);
+
+ thread::Builder::new().stack_size(32 * 1024 * 1024).spawn(move || {
+ run_spec_test!($type, $path);
+ }).unwrap().join().unwrap();
}
};
}