mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Ignore tests that stack overflow on debug builds
This commit is contained in:
parent
a8b83cfe37
commit
356ba91f19
1 changed files with 22 additions and 6 deletions
|
@ -953,7 +953,10 @@ fn encode_then_decode_list_of_lists_of_strings() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(all(
|
||||
any(feature = "gen-llvm", feature = "gen-wasm"),
|
||||
not(debug_assertions) // hits a stack overflow in debug builds
|
||||
))]
|
||||
fn decode_record_two_fields() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -972,7 +975,10 @@ fn decode_record_two_fields() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(all(
|
||||
any(feature = "gen-llvm", feature = "gen-wasm"),
|
||||
not(debug_assertions) // hits a stack overflow in debug builds
|
||||
))]
|
||||
fn decode_record_two_fields_string_and_int() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -991,7 +997,10 @@ fn decode_record_two_fields_string_and_int() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(all(
|
||||
any(feature = "gen-llvm", feature = "gen-wasm"),
|
||||
not(debug_assertions) // hits a stack overflow in debug builds
|
||||
))]
|
||||
fn decode_record_two_fields_string_and_string_infer() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -1010,7 +1019,10 @@ fn decode_record_two_fields_string_and_string_infer() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(all(
|
||||
any(feature = "gen-llvm", feature = "gen-wasm"),
|
||||
not(debug_assertions) // hits a stack overflow in debug builds
|
||||
))]
|
||||
fn decode_record_two_fields_string_and_string_infer_local_var() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -1030,7 +1042,10 @@ fn decode_record_two_fields_string_and_string_infer_local_var() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(all(
|
||||
any(feature = "gen-llvm", feature = "gen-wasm"),
|
||||
not(debug_assertions) // hits a stack overflow in debug builds
|
||||
))]
|
||||
fn decode_record_two_fields_string_and_string_infer_local_var_destructured() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -1072,7 +1087,8 @@ fn decode_empty_record() {
|
|||
#[test]
|
||||
#[cfg(all(
|
||||
any(feature = "gen-llvm", feature = "gen-wasm"),
|
||||
not(feature = "gen-llvm-wasm") // hits a wasm3 stack overflow
|
||||
not(feature = "gen-llvm-wasm"), // hits a wasm3 stack overflow
|
||||
not(debug_assertions) // hits a stack overflow in debug builds
|
||||
))]
|
||||
fn decode_record_of_record() {
|
||||
assert_evals_to!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue