mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
test: Give a test a bigger stack for pretty printing
This commit is contained in:
parent
d92b9ae716
commit
f912005ef3
@ -217,7 +217,7 @@ fn run_pretty_test(config: &Config, props: &TestProps, testfile: &Path) {
|
||||
pretty_type: &str) -> ProcRes {
|
||||
compose_and_run(config, testfile,
|
||||
make_pp_args(config, props, testfile, pretty_type.to_owned()),
|
||||
Vec::new(), config.compile_lib_path, Some(src))
|
||||
props.exec_env.clone(), config.compile_lib_path, Some(src))
|
||||
}
|
||||
|
||||
fn make_pp_args(config: &Config,
|
||||
|
@ -8,6 +8,10 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// exec-env:RUST_MIN_STACK=8000000
|
||||
//
|
||||
// Big stack is needed for pretty printing, a little sad...
|
||||
|
||||
static a: int =
|
||||
(((((((((((((((((((((((((((((((((((((((((((((((((((
|
||||
(((((((((((((((((((((((((((((((((((((((((((((((((((
|
||||
|
Loading…
Reference in New Issue
Block a user