summaryrefslogtreecommitdiff
path: root/dhall/tests/common
diff options
context:
space:
mode:
authorNadrieril Feneanar2019-03-20 23:18:04 +0100
committerGitHub2019-03-20 23:18:04 +0100
commitc15c71b4fb390913914c7669d906dc892078df7c (patch)
treeacc2a21c064fb62631c076d8c135ae929ce07542 /dhall/tests/common
parent049f1f12bcf3013e31b179fd469a4ff0f61bf831 (diff)
parent4d616450d6883e68672a91f447999660fa17636c (diff)
Merge pull request #34 from Nadrieril/rewrite-parser-macros
Rewrite parser macros
Diffstat (limited to 'dhall/tests/common')
-rw-r--r--dhall/tests/common/mod.rs17
1 files changed, 1 insertions, 16 deletions
diff --git a/dhall/tests/common/mod.rs b/dhall/tests/common/mod.rs
index 7ba64b0..75aee38 100644
--- a/dhall/tests/common/mod.rs
+++ b/dhall/tests/common/mod.rs
@@ -24,22 +24,7 @@ macro_rules! make_spec_test {
#[allow(non_snake_case)]
fn $name() {
use crate::common::*;
-
- if cfg!(feature = "nothreads") {
- run_test($path, Feature::$type);
- } else {
- use std::thread;
- // The parser stack overflows even on small files
- // when compiled without optimizations
- thread::Builder::new()
- .stack_size(4 * 1024 * 1024)
- .spawn(move || {
- run_test($path, Feature::$type);
- })
- .unwrap()
- .join()
- .unwrap();
- }
+ run_test($path, Feature::$type);
}
};
}