mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
increase stack size for debug tests
This commit is contained in:
parent
b4aa4a9089
commit
fd846b9a7a
2 changed files with 41 additions and 29 deletions
|
@ -3811,6 +3811,9 @@ fn list_range_length_overflow() {
|
||||||
|
|
||||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||||
mod pattern_match {
|
mod pattern_match {
|
||||||
|
#[allow(unused_imports)]
|
||||||
|
use crate::helpers::with_larger_debug_stack;
|
||||||
|
|
||||||
#[cfg(feature = "gen-llvm")]
|
#[cfg(feature = "gen-llvm")]
|
||||||
use crate::helpers::llvm::assert_evals_to;
|
use crate::helpers::llvm::assert_evals_to;
|
||||||
|
|
||||||
|
@ -3857,6 +3860,7 @@ mod pattern_match {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn ranged_matches_head() {
|
fn ranged_matches_head() {
|
||||||
|
with_larger_debug_stack(|| {
|
||||||
assert_evals_to!(
|
assert_evals_to!(
|
||||||
r#"
|
r#"
|
||||||
helper = \l -> when l is
|
helper = \l -> when l is
|
||||||
|
@ -3883,10 +3887,12 @@ mod pattern_match {
|
||||||
]),
|
]),
|
||||||
RocList<u8>
|
RocList<u8>
|
||||||
)
|
)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn ranged_matches_tail() {
|
fn ranged_matches_tail() {
|
||||||
|
with_larger_debug_stack(|| {
|
||||||
assert_evals_to!(
|
assert_evals_to!(
|
||||||
r#"
|
r#"
|
||||||
helper = \l -> when l is
|
helper = \l -> when l is
|
||||||
|
@ -3913,6 +3919,7 @@ mod pattern_match {
|
||||||
]),
|
]),
|
||||||
RocList<u8>
|
RocList<u8>
|
||||||
)
|
)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
#[allow(unused_imports)]
|
||||||
|
use crate::helpers::with_larger_debug_stack;
|
||||||
|
|
||||||
#[cfg(feature = "gen-llvm")]
|
#[cfg(feature = "gen-llvm")]
|
||||||
use crate::helpers::llvm::assert_evals_to;
|
use crate::helpers::llvm::assert_evals_to;
|
||||||
|
|
||||||
|
@ -2167,6 +2170,7 @@ fn refcount_nullable_unwrapped_needing_no_refcount_issue_5027() {
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(any(feature = "gen-llvm"))]
|
#[cfg(any(feature = "gen-llvm"))]
|
||||||
fn issue_5162_recast_nested_nullable_unwrapped_layout() {
|
fn issue_5162_recast_nested_nullable_unwrapped_layout() {
|
||||||
|
with_larger_debug_stack(|| {
|
||||||
assert_evals_to!(
|
assert_evals_to!(
|
||||||
indoc!(
|
indoc!(
|
||||||
r###"
|
r###"
|
||||||
|
@ -2188,6 +2192,7 @@ fn issue_5162_recast_nested_nullable_unwrapped_layout() {
|
||||||
true,
|
true,
|
||||||
bool
|
bool
|
||||||
);
|
);
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue