Commit 156ad8ee authored by Frank Barchard's avatar Frank Barchard

disable scale color tests.

These tests are place holders, but cause a hang on arm.
Disable them for now.

TBR=harryjin@google.com
BUG=libyuv:506

Review URL: https://codereview.chromium.org/1407693003 .
parent c7c18837
...@@ -37,7 +37,7 @@ namespace libyuv { ...@@ -37,7 +37,7 @@ namespace libyuv {
#endif #endif
#define TESTCS(TESTNAME, YUVTOARGB, ARGBTOYUV, HS1, HS, HN, DIFF) \ #define TESTCS(TESTNAME, YUVTOARGB, ARGBTOYUV, HS1, HS, HN, DIFF) \
TEST_F(LibYUVScaleTest, TESTNAME) { \ TEST_F(LibYUVScaleTest, DISABLED_ ## TESTNAME) { \
const int kPixels = benchmark_width_ * benchmark_height_; \ const int kPixels = benchmark_width_ * benchmark_height_; \
const int kHalfPixels = ((benchmark_width_ + 1) / 2) * \ const int kHalfPixels = ((benchmark_width_ + 1) / 2) * \
((benchmark_height_ + HS1) / HS); \ ((benchmark_height_ + HS1) / HS); \
...@@ -251,7 +251,7 @@ static void YUVJToRGBReference(int y, int u, int v, int* r, int* g, int* b) { ...@@ -251,7 +251,7 @@ static void YUVJToRGBReference(int y, int u, int v, int* r, int* g, int* b) {
*b = RoundToByte(y - (u - 128) * -1.77200); *b = RoundToByte(y - (u - 128) * -1.77200);
} }
TEST_F(LibYUVScaleTest, ScaleTestYUV) { TEST_F(LibYUVScaleTest, DISABLED_ScaleTestYUV) {
int r0, g0, b0, r1, g1, b1; int r0, g0, b0, r1, g1, b1;
// cyan (less red) // cyan (less red)
...@@ -297,7 +297,7 @@ TEST_F(LibYUVScaleTest, ScaleTestYUV) { ...@@ -297,7 +297,7 @@ TEST_F(LibYUVScaleTest, ScaleTestYUV) {
} }
} }
TEST_F(LibYUVScaleTest, ScaleTestGreyYUV) { TEST_F(LibYUVScaleTest, DISABLED_ScaleTestGreyYUV) {
int r0, g0, b0, r1, g1, b1, r2, g2, b2; int r0, g0, b0, r1, g1, b1, r2, g2, b2;
// black // black
...@@ -376,7 +376,7 @@ static void ScalePrintHistogram(int rh[256], int gh[256], int bh[256]) { ...@@ -376,7 +376,7 @@ static void ScalePrintHistogram(int rh[256], int gh[256], int bh[256]) {
printf("\n"); printf("\n");
} }
TEST_F(LibYUVScaleTest, ScaleTestFullYUV) { TEST_F(LibYUVScaleTest, DISABLED_ScaleTestFullYUV) {
int rh[256] = { 0, }, gh[256] = { 0, }, bh[256] = { 0, }; int rh[256] = { 0, }, gh[256] = { 0, }, bh[256] = { 0, };
for (int u = 0; u < 256; ++u) { for (int u = 0; u < 256; ++u) {
for (int v = 0; v < 256; ++v) { for (int v = 0; v < 256; ++v) {
...@@ -397,7 +397,7 @@ TEST_F(LibYUVScaleTest, ScaleTestFullYUV) { ...@@ -397,7 +397,7 @@ TEST_F(LibYUVScaleTest, ScaleTestFullYUV) {
ScalePrintHistogram(rh, gh, bh); ScalePrintHistogram(rh, gh, bh);
} }
TEST_F(LibYUVScaleTest, ScaleTestFullYUVJ) { TEST_F(LibYUVScaleTest, DISABLED_ScaleTestFullYUVJ) {
int rh[256] = { 0, }, gh[256] = { 0, }, bh[256] = { 0, }; int rh[256] = { 0, }, gh[256] = { 0, }, bh[256] = { 0, };
for (int u = 0; u < 256; ++u) { for (int u = 0; u < 256; ++u) {
for (int v = 0; v < 256; ++v) { for (int v = 0; v < 256; ++v) {
...@@ -418,7 +418,7 @@ TEST_F(LibYUVScaleTest, ScaleTestFullYUVJ) { ...@@ -418,7 +418,7 @@ TEST_F(LibYUVScaleTest, ScaleTestFullYUVJ) {
ScalePrintHistogram(rh, gh, bh); ScalePrintHistogram(rh, gh, bh);
} }
TEST_F(LibYUVScaleTest, ScaleTestGreyYUVJ) { TEST_F(LibYUVScaleTest, DISABLED_ScaleTestGreyYUVJ) {
int r0, g0, b0, r1, g1, b1, r2, g2, b2; int r0, g0, b0, r1, g1, b1, r2, g2, b2;
// black // black
......
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