Commit 92667403 authored by fdegans's avatar fdegans Committed by Commit bot

Disable crashing tests in MediaStreamAudioProcessorTest for Android ASAN.

BUG=468762

Review URL: https://codereview.chromium.org/1024473003

Cr-Commit-Position: refs/heads/master@{#321420}
parent 06408c1d
......@@ -181,7 +181,13 @@ class MediaStreamAudioProcessorTest : public ::testing::Test {
media::AudioParameters params_;
};
TEST_F(MediaStreamAudioProcessorTest, WithAudioProcessing) {
// Test crashing with ASAN on Android. crbug.com/468762
#if defined(OS_ANDROID) && defined(ADDRESS_SANITIZER)
#define MAYBE_WithAudioProcessing DISABLED_WithAudioProcessing
#else
#define MAYBE_WithAudioProcessing WithAudioProcessing
#endif
TEST_F(MediaStreamAudioProcessorTest, MAYBE_WithAudioProcessing) {
MockMediaConstraintFactory constraint_factory;
scoped_refptr<WebRtcAudioDeviceImpl> webrtc_audio_device(
new WebRtcAudioDeviceImpl());
......@@ -364,7 +370,13 @@ TEST_F(MediaStreamAudioProcessorTest, ValidateConstraints) {
EXPECT_FALSE(audio_constraints.IsValid());
}
TEST_F(MediaStreamAudioProcessorTest, TestAllSampleRates) {
// Test crashing with ASAN on Android. crbug.com/468762
#if defined(OS_ANDROID) && defined(ADDRESS_SANITIZER)
#define MAYBE_TestAllSampleRates DISABLED_TestAllSampleRates
#else
#define MAYBE_TestAllSampleRates TestAllSampleRates
#endif
TEST_F(MediaStreamAudioProcessorTest, MAYBE_TestAllSampleRates) {
MockMediaConstraintFactory constraint_factory;
scoped_refptr<WebRtcAudioDeviceImpl> webrtc_audio_device(
new WebRtcAudioDeviceImpl());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment