aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/scheme/tests
diff options
context:
space:
mode:
authorilnurkh <ilnurkh@yandex-team.com>2023-10-17 08:15:44 +0300
committerilnurkh <ilnurkh@yandex-team.com>2023-10-17 09:00:07 +0300
commit784925324fd115c37bc98c5bbfe64c15f9966d74 (patch)
treef763f6eaacfcd4757d249977aaddfa4e9b2a355b /library/cpp/scheme/tests
parentd6c75d9ec33559b29eb61a8f2e17cbca30fd5ae2 (diff)
downloadydb-784925324fd115c37bc98c5bbfe64c15f9966d74.tar.gz
Y_FAIL->Y_ABORT at '^li'
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/scheme/tests')
-rw-r--r--library/cpp/scheme/tests/fuzz_ops/lib/vm_apply.cpp14
-rw-r--r--library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp6
2 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/scheme/tests/fuzz_ops/lib/vm_apply.cpp b/library/cpp/scheme/tests/fuzz_ops/lib/vm_apply.cpp
index ada7b8854f..1a6400457f 100644
--- a/library/cpp/scheme/tests/fuzz_ops/lib/vm_apply.cpp
+++ b/library/cpp/scheme/tests/fuzz_ops/lib/vm_apply.cpp
@@ -17,7 +17,7 @@ namespace NSc::NUt {
op(st.RRef(act.GetSrc(arg).Pos)); \
break; \
default: \
- Y_FAIL(); \
+ Y_ABORT(); \
}
@@ -58,7 +58,7 @@ namespace NSc::NUt {
st.LRef(act.GetDst(arg).Pos) = std::move(op); \
break; \
default: \
- Y_FAIL(); \
+ Y_ABORT(); \
}
@@ -74,7 +74,7 @@ namespace NSc::NUt {
st.LRef(act.GetRef(arg).Pos) = op; \
break; \
default: \
- Y_FAIL(); \
+ Y_ABORT(); \
}
#define Y_GEN_PTR_OP(op, arg, st, act) \
@@ -90,7 +90,7 @@ namespace NSc::NUt {
st.LRef(act.GetRef(arg).Pos) = *r; \
break; \
default: \
- Y_FAIL(); \
+ Y_ABORT(); \
} \
}
@@ -116,7 +116,7 @@ namespace NSc::NUt {
Y_GEN_TRY_OP(st.TryPushBack(st.RRef(act.GetSrc(0).Pos)))
break;
default:
- Y_FAIL();
+ Y_ABORT();
}
return true;
@@ -137,7 +137,7 @@ namespace NSc::NUt {
Y_GEN_TRY_OP(st.TryPushFront(st.RRef(act.GetSrc(0).Pos)))
break;
default:
- Y_FAIL();
+ Y_ABORT();
}
return true;
@@ -296,7 +296,7 @@ namespace NSc::NUt {
return true;
default:
- Y_FAIL();
+ Y_ABORT();
}
}
}
diff --git a/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp b/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp
index a03f5aef53..a73a7d6cbc 100644
--- a/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp
+++ b/library/cpp/scheme/tests/fuzz_ops/lib/vm_parse.cpp
@@ -80,7 +80,7 @@ namespace NSc::NUt {
case TRef::T_CREATE_BACK:
return ref;
default:
- Y_FAIL();
+ Y_ABORT();
}
}
@@ -99,7 +99,7 @@ namespace NSc::NUt {
}
return src;
default:
- Y_FAIL();
+ Y_ABORT();
}
}
@@ -125,7 +125,7 @@ namespace NSc::NUt {
case TDst::T_CREATE_BACK_RREF:
return dst;
default:
- Y_FAIL();
+ Y_ABORT();
}
}