summaryrefslogtreecommitdiffstats
path: root/media/base
diff options
context:
space:
mode:
authorfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 08:25:39 +0000
committerfbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 08:25:39 +0000
commitca4ba53a1a64e566d806e940554aa208084a08e6 (patch)
treef4ad81b367037e9cbe00424e23b184e55b3fab39 /media/base
parent120381ce41cfbd9be1d6c7de9d92dfa138b0b9af (diff)
downloadchromium_src-ca4ba53a1a64e566d806e940554aa208084a08e6.zip
chromium_src-ca4ba53a1a64e566d806e940554aa208084a08e6.tar.gz
chromium_src-ca4ba53a1a64e566d806e940554aa208084a08e6.tar.bz2
Reduce test duration for valgrind.
BUG=26556 TEST=run valgrind on Mac unittests. Should take less than 1 minute for YUV test. Review URL: http://codereview.chromium.org/346036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base')
-rw-r--r--media/base/yuv_convert_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/base/yuv_convert_unittest.cc b/media/base/yuv_convert_unittest.cc
index 9438eef..3f2f78f 100644
--- a/media/base/yuv_convert_unittest.cc
+++ b/media/base/yuv_convert_unittest.cc
@@ -33,7 +33,7 @@ static const size_t kRGBSize = kWidth * kHeight * kBpp;
static const size_t kRGBSizeConverted = kWidth * kHeight * kBpp;
// Set to 100 to time ConvertYUVToRGB32.
-static const int kTestTimes = 100;
+static const int kTestTimes = 1;
TEST(YUVConvertTest, YV12) {
// Allocate all surfaces.