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

Unified Diff: skia/ext/convolver_unittest.cc

Issue 149063009: Make the Convolver unit tests run in sane amount of time in DEBUG. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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: skia/ext/convolver_unittest.cc
diff --git a/skia/ext/convolver_unittest.cc b/skia/ext/convolver_unittest.cc
index 8d0c852a16d7e94e8b4fea6a687325d29b4806cf..c71a591b68ed2bccc63c9089a79a7465d66a7ded 100644
--- a/skia/ext/convolver_unittest.cc
+++ b/skia/ext/convolver_unittest.cc
@@ -224,11 +224,18 @@ TEST(Convolver, MAYBE_SIMDVerification) {
{2,1}, {2,2}, {2,3}, {2,4}, {2,5},
{3,1}, {3,2}, {3,3}, {3,4}, {3,5},
{4,1}, {4,2}, {4,3}, {4,4}, {4,5},
+#ifdef NDEBUG
{1920, 1080},
{720, 480},
{1377, 523},
- {325, 241} };
+#endif
+ {325, 241}
+};
+#ifdef NDEBUG
int dest_sizes[][2] = { {1280, 1024}, {480, 270}, {177, 123} };
+#else
+ int dest_sizes[][2] = { {128, 102}, {48, 27}, {17, 13} };
+#endif
float filter[] = { 0.05f, -0.15f, 0.6f, 0.6f, -0.15f, 0.05f };
srand(static_cast<unsigned int>(time(0)));
« 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