Skip to content

Commit f912005

Browse files
committed
test: Give a test a bigger stack for pretty printing
1 parent d92b9ae commit f912005

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/compiletest/runtest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ fn run_pretty_test(config: &Config, props: &TestProps, testfile: &Path) {
217217
pretty_type: &str) -> ProcRes {
218218
compose_and_run(config, testfile,
219219
make_pp_args(config, props, testfile, pretty_type.to_owned()),
220-
Vec::new(), config.compile_lib_path, Some(src))
220+
props.exec_env.clone(), config.compile_lib_path, Some(src))
221221
}
222222

223223
fn make_pp_args(config: &Config,

src/test/run-pass/super-fast-paren-parsing.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// exec-env:RUST_MIN_STACK=8000000
12+
//
13+
// Big stack is needed for pretty printing, a little sad...
14+
1115
static a: int =
1216
(((((((((((((((((((((((((((((((((((((((((((((((((((
1317
(((((((((((((((((((((((((((((((((((((((((((((((((((

0 commit comments

Comments
 (0)