Index: webrtc/common_video/libyuv/scaler_unittest.cc |
diff --git a/webrtc/common_video/libyuv/scaler_unittest.cc b/webrtc/common_video/libyuv/scaler_unittest.cc |
index 526e62cb3c7dedc59dec6ba479e254156cd5b350..dea59cc05788cd1c9aeccad32e9ffd921aec7db6 100644 |
--- a/webrtc/common_video/libyuv/scaler_unittest.cc |
+++ b/webrtc/common_video/libyuv/scaler_unittest.cc |
@@ -15,7 +15,6 @@ |
#include "webrtc/common_video/libyuv/include/scaler.h" |
#include "webrtc/system_wrappers/include/tick_util.h" |
#include "webrtc/test/testsupport/fileutils.h" |
-#include "webrtc/test/testsupport/gtest_disable.h" |
namespace webrtc { |
@@ -115,7 +114,11 @@ TEST_F(TestScaler, ScaleSendingBufferTooSmall) { |
} |
// TODO(mikhal): Converge the test into one function that accepts the method. |
-TEST_F(TestScaler, DISABLED_ON_ANDROID(PointScaleTest)) { |
+#if defined(WEBRTC_ANDROID) |
+TEST_F(TestScaler, DISABLED_PointScaleTest) { |
+#else |
+TEST_F(TestScaler, PointScaleTest) { |
+#endif |
double avg_psnr; |
FILE* source_file2; |
ScaleMethod method = kScalePoint; |
@@ -182,7 +185,11 @@ TEST_F(TestScaler, DISABLED_ON_ANDROID(PointScaleTest)) { |
ASSERT_EQ(0, fclose(source_file2)); |
} |
-TEST_F(TestScaler, DISABLED_ON_ANDROID(BiLinearScaleTest)) { |
+#if defined(WEBRTC_ANDROID) |
+TEST_F(TestScaler, DISABLED_BiLinearScaleTest) { |
+#else |
+TEST_F(TestScaler, BiLinearScaleTest) { |
+#endif |
double avg_psnr; |
FILE* source_file2; |
ScaleMethod method = kScaleBilinear; |
@@ -234,7 +241,11 @@ TEST_F(TestScaler, DISABLED_ON_ANDROID(BiLinearScaleTest)) { |
400, 300); |
} |
-TEST_F(TestScaler, DISABLED_ON_ANDROID(BoxScaleTest)) { |
+#if defined(WEBRTC_ANDROID) |
+TEST_F(TestScaler, DISABLED_BoxScaleTest) { |
+#else |
+TEST_F(TestScaler, BoxScaleTest) { |
+#endif |
double avg_psnr; |
FILE* source_file2; |
ScaleMethod method = kScaleBox; |