Index: webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
diff --git a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
index b6efe7d7d6b5e297b7bc07ae87cfdaf1598d0963..e96e09ab21054e7d0b7ed89c781c6b606a5f4309 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
+++ b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc |
@@ -514,10 +514,11 @@ void NetEqDecodingTest::PopulateCng(int frame_index, |
*payload_len = 1; // Only noise level, no spectral parameters. |
} |
+// Disabled for UBSan: https://bugs.chromium.org/p/webrtc/issues/detail?id=5820 |
#if !defined(WEBRTC_IOS) && defined(WEBRTC_NETEQ_UNITTEST_BITEXACT) && \ |
(defined(WEBRTC_CODEC_ISAC) || defined(WEBRTC_CODEC_ISACFX)) && \ |
defined(WEBRTC_CODEC_ILBC) && defined(WEBRTC_CODEC_G722) && \ |
- !defined(WEBRTC_ARCH_ARM64) |
+ !defined(WEBRTC_ARCH_ARM64) && !defined(UNDEFINED_SANITIZER) |
#define MAYBE_TestBitExactness TestBitExactness |
#else |
#define MAYBE_TestBitExactness DISABLED_TestBitExactness |
@@ -552,9 +553,10 @@ TEST_F(NetEqDecodingTest, MAYBE_TestBitExactness) { |
} |
} |
+// Disabled for UBSan: https://bugs.chromium.org/p/webrtc/issues/detail?id=5820 |
#if !defined(WEBRTC_IOS) && !defined(WEBRTC_ANDROID) && \ |
defined(WEBRTC_NETEQ_UNITTEST_BITEXACT) && \ |
- defined(WEBRTC_CODEC_OPUS) |
+ defined(WEBRTC_CODEC_OPUS) && !defined(UNDEFINED_SANITIZER) |
#define MAYBE_TestOpusBitExactness TestOpusBitExactness |
#else |
#define MAYBE_TestOpusBitExactness DISABLED_TestOpusBitExactness |