Skip tests failing with the new version of UBSan.
Bug: webrtc:345674543 Change-Id: I6510ca9dac0e661572503d6b150a3a98ffae64e5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/353960 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42450}
This commit is contained in:
parent
fdd0c6d667
commit
11e366db30
@ -18,7 +18,12 @@ extern "C" {
|
|||||||
namespace webrtc {
|
namespace webrtc {
|
||||||
namespace test {
|
namespace test {
|
||||||
|
|
||||||
|
// TODO(bugs.webrtc.org/345674543): Fix/enable.
|
||||||
|
#if defined(__has_feature) && __has_feature(undefined_behavior_sanitizer)
|
||||||
|
TEST_F(VadTest, DISABLED_vad_gmm) {
|
||||||
|
#else
|
||||||
TEST_F(VadTest, vad_gmm) {
|
TEST_F(VadTest, vad_gmm) {
|
||||||
|
#endif
|
||||||
int16_t delta = 0;
|
int16_t delta = 0;
|
||||||
// Input value at mean.
|
// Input value at mean.
|
||||||
EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(0, 0, 128, &delta));
|
EXPECT_EQ(1048576, WebRtcVad_GaussianProbability(0, 0, 128, &delta));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user