Skip tests failing with the new version of UBSan.

Bug: webrtc:345674544
Change-Id: I7f786e085a3faae86a2d0d814a9c1848181f3fcc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/353941
Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42449}
This commit is contained in:
Mirko Bonadei 2024-06-07 10:25:08 +00:00 committed by WebRTC LUCI CQ
parent cfab6409ae
commit fdd0c6d667

View File

@ -163,7 +163,12 @@ TEST(SplTest, CountLeadingZeros64) {
}
}
// TODO(bugs.webrtc.org/345674544): Fix/enable.
#if defined(__has_feature) && __has_feature(undefined_behavior_sanitizer)
TEST(SplTest, DISABLED_MathOperationsTest) {
#else
TEST(SplTest, MathOperationsTest) {
#endif
int A = 1134567892;
int32_t num = 117;
int32_t den = -5;