Merge pull request #5422 from dlsmith/json-overflow-cfg-dbg

Disable some tests in debug failing with stack overflow
This commit is contained in:
Folkert de Vries 2023-05-18 01:50:59 +02:00 committed by GitHub
commit 69a487a96a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -402,6 +402,7 @@ fn encode_use_stdlib_without_wrapping_custom() {
}
#[test]
#[cfg(not(debug_assertions))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn encode_derive_to_encoder_for_opaque() {
assert_evals_to!(
@ -564,6 +565,7 @@ mod encode_immediate {
}
#[test]
#[cfg(not(debug_assertions))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn encode_derived_record_one_field_string() {
assert_evals_to!(
@ -586,6 +588,7 @@ fn encode_derived_record_one_field_string() {
}
#[test]
#[cfg(not(debug_assertions))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn encode_derived_record_two_fields_strings() {
assert_evals_to!(
@ -609,6 +612,7 @@ fn encode_derived_record_two_fields_strings() {
}
#[test]
#[cfg(not(debug_assertions))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn encode_derived_nested_record_string() {
assert_evals_to!(
@ -703,6 +707,7 @@ fn encode_derived_nested_tag_string() {
}
#[test]
#[cfg(not(debug_assertions))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn encode_derived_nested_record_tag_record() {
assert_evals_to!(
@ -751,6 +756,7 @@ fn encode_derived_list_string() {
}
#[test]
#[cfg(not(debug_assertions))]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn encode_derived_list_of_records() {
assert_evals_to!(
@ -799,6 +805,7 @@ fn encode_derived_list_of_lists_of_strings() {
}
#[test]
#[cfg(not(debug_assertions))]
#[cfg(all(any(feature = "gen-llvm", feature = "gen-wasm")))]
fn encode_derived_record_with_many_types() {
assert_evals_to!(
@ -872,6 +879,7 @@ fn encode_derived_tuple_of_tuples() {
}
#[test]
#[cfg(not(debug_assertions))]
#[cfg(all(any(feature = "gen-llvm", feature = "gen-wasm")))]
fn encode_derived_generic_record_with_different_field_types() {
assert_evals_to!(

View file

@ -1855,6 +1855,7 @@ fn instantiate_annotated_as_recursive_alias_multiple_polymorphic_expr() {
}
#[mono_test]
#[cfg(not(debug_assertions))]
fn encode_derived_record_one_field_string() {
indoc!(
r#"
@ -1872,6 +1873,7 @@ fn encode_derived_record_one_field_string() {
}
#[mono_test]
#[cfg(not(debug_assertions))]
fn encode_derived_record_two_field_strings() {
indoc!(
r#"
@ -1889,6 +1891,7 @@ fn encode_derived_record_two_field_strings() {
}
#[mono_test]
#[cfg(not(debug_assertions))]
fn encode_derived_nested_record_string() {
indoc!(
r#"