Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(885)

Unified Diff: unit_test/scale_color_test.cc

Issue 1407693003: disable scale color tests (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: concat name Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: unit_test/scale_color_test.cc
diff --git a/unit_test/scale_color_test.cc b/unit_test/scale_color_test.cc
index c96b268634c50fab25197ab45d42b713740b1e30..e0c944e339cae9f9b9ebb600f7d3d19e71305444 100644
--- a/unit_test/scale_color_test.cc
+++ b/unit_test/scale_color_test.cc
@@ -37,7 +37,7 @@ namespace libyuv {
#endif
#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 kHalfPixels = ((benchmark_width_ + 1) / 2) * \
((benchmark_height_ + HS1) / HS); \
@@ -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);
}
-TEST_F(LibYUVScaleTest, ScaleTestYUV) {
+TEST_F(LibYUVScaleTest, DISABLED_ScaleTestYUV) {
int r0, g0, b0, r1, g1, b1;
// cyan (less red)
@@ -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;
// black
@@ -376,7 +376,7 @@ static void ScalePrintHistogram(int rh[256], int gh[256], int bh[256]) {
printf("\n");
}
-TEST_F(LibYUVScaleTest, ScaleTestFullYUV) {
+TEST_F(LibYUVScaleTest, DISABLED_ScaleTestFullYUV) {
int rh[256] = { 0, }, gh[256] = { 0, }, bh[256] = { 0, };
for (int u = 0; u < 256; ++u) {
for (int v = 0; v < 256; ++v) {
@@ -397,7 +397,7 @@ TEST_F(LibYUVScaleTest, ScaleTestFullYUV) {
ScalePrintHistogram(rh, gh, bh);
}
-TEST_F(LibYUVScaleTest, ScaleTestFullYUVJ) {
+TEST_F(LibYUVScaleTest, DISABLED_ScaleTestFullYUVJ) {
int rh[256] = { 0, }, gh[256] = { 0, }, bh[256] = { 0, };
for (int u = 0; u < 256; ++u) {
for (int v = 0; v < 256; ++v) {
@@ -418,7 +418,7 @@ TEST_F(LibYUVScaleTest, ScaleTestFullYUVJ) {
ScalePrintHistogram(rh, gh, bh);
}
-TEST_F(LibYUVScaleTest, ScaleTestGreyYUVJ) {
+TEST_F(LibYUVScaleTest, DISABLED_ScaleTestGreyYUVJ) {
int r0, g0, b0, r1, g1, b1, r2, g2, b2;
// black
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698