| 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..6d026383a2c40b27d1cd6376fc491ec501e0d248 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,12 @@ 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)
|
| +#define MAYBE_PointScaleTest DISABLED_PointScaleTest
|
| +#else
|
| +#define MAYBE_PointScaleTest PointScaleTest
|
| +#endif
|
| +TEST_F(TestScaler, MAYBE_PointScaleTest) {
|
| double avg_psnr;
|
| FILE* source_file2;
|
| ScaleMethod method = kScalePoint;
|
| @@ -182,7 +186,12 @@ TEST_F(TestScaler, DISABLED_ON_ANDROID(PointScaleTest)) {
|
| ASSERT_EQ(0, fclose(source_file2));
|
| }
|
|
|
| -TEST_F(TestScaler, DISABLED_ON_ANDROID(BiLinearScaleTest)) {
|
| +#if defined(WEBRTC_ANDROID)
|
| +#define MAYBE_BilinearScaleTest DISABLED_BiLinearScaleTest
|
| +#else
|
| +#define MAYBE_BilinearScaleTest BiLinearScaleTest
|
| +#endif
|
| +TEST_F(TestScaler, MAYBE_BiLinearScaleTest) {
|
| double avg_psnr;
|
| FILE* source_file2;
|
| ScaleMethod method = kScaleBilinear;
|
| @@ -234,7 +243,12 @@ TEST_F(TestScaler, DISABLED_ON_ANDROID(BiLinearScaleTest)) {
|
| 400, 300);
|
| }
|
|
|
| -TEST_F(TestScaler, DISABLED_ON_ANDROID(BoxScaleTest)) {
|
| +#if defined(WEBRTC_ANDROID)
|
| +#define MAYBE_BoxScaleTest DISABLED_BoxScaleTest
|
| +#else
|
| +#define MAYBE_BoxScaleTest BoxScaleTest
|
| +#endif
|
| +TEST_F(TestScaler, MAYBE_BoxScaleTest) {
|
| double avg_psnr;
|
| FILE* source_file2;
|
| ScaleMethod method = kScaleBox;
|
|
|