Index: webrtc/common_audio/resampler/push_resampler_unittest.cc |
diff --git a/webrtc/common_audio/resampler/push_resampler_unittest.cc b/webrtc/common_audio/resampler/push_resampler_unittest.cc |
index 589ab3e574723acb121083cafee8742d72a93ff6..53cd495cd065549bfac41a5867c104d456d99840 100644 |
--- a/webrtc/common_audio/resampler/push_resampler_unittest.cc |
+++ b/webrtc/common_audio/resampler/push_resampler_unittest.cc |
@@ -16,16 +16,18 @@ |
namespace webrtc { |
+// The below tests are temporarily disabled on WEBRTC_WIN due to problems |
+// with clang debug builds. |
+// TODO(tommi): Re-enable when we've figured out what the problem is. |
+// http://crbug.com/615050 |
+#if !defined(WEBRTC_WIN) && defined(__clang__) && !defined(NDEBUG) |
TEST(PushResamplerTest, VerifiesInputParameters) { |
PushResampler<int16_t> resampler; |
EXPECT_EQ(0, resampler.InitializeIfNeeded(16000, 16000, 1)); |
EXPECT_EQ(0, resampler.InitializeIfNeeded(16000, 16000, 2)); |
} |
-// The below tests are temporarily disabled on WEBRTC_WIN due to problems |
-// with clang debug builds. |
-#if RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID) && \ |
- !defined(WEBRTC_WIN) |
+#if RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID) |
TEST(PushResamplerTest, VerifiesBadInputParameters1) { |
PushResampler<int16_t> resampler; |
EXPECT_DEATH(resampler.InitializeIfNeeded(-1, 16000, 1), |
@@ -48,5 +50,6 @@ TEST(PushResamplerTest, VerifiesBadInputParameters4) { |
EXPECT_DEATH(resampler.InitializeIfNeeded(16000, 16000, 3), "num_channels"); |
} |
#endif |
+#endif |
} // namespace webrtc |