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

Issue 2794002: Added gflags switches: duration, tests, save, out. (Closed)

Created:
10 years, 6 months ago by Alexey Marinichev
Modified:
9 years, 7 months ago
Reviewers:
piman
CC:
chromium-os-reviews_chromium.org, sosa+cc_chromium.org, seano, ericli, petkov+cc_chromium.org
Base URL:
ssh://git@chromiumos-git//autotest.git
Visibility:
Public.

Description

Added gflags switches: duration, tests, save, out. Added saving images after a testcase is finished. Updated power_Draw control file. Checking against golden images will be done outside from a python script.

Patch Set 1 #

Total comments: 9

Patch Set 2 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -41 lines) Patch
M client/deps/glbench/src/attributefetchtest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/cleartest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/fillratetest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/main.cc View 1 2 chunks +38 lines, -35 lines 0 comments Download
M client/deps/glbench/src/readpixeltest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/swaptest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/testbase.h View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/testbase.cc View 1 3 chunks +22 lines, -1 line 0 comments Download
M client/deps/glbench/src/textureupdatetest.cc View 2 chunks +4 lines, -1 line 0 comments Download
M client/deps/glbench/src/trianglesetuptest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/utils.h View 1 chunk +2 lines, -0 lines 0 comments Download
M client/deps/glbench/src/utils.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M client/deps/glbench/src/varyingsandddxytest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/windowmanagercompositingtest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/deps/glbench/src/yuvtest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M client/site_tests/power_Draw/control View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
piman
http://codereview.chromium.org/2794002/diff/1/5 File client/deps/glbench/src/main.cc (right): http://codereview.chromium.org/2794002/diff/1/5#newcode22 client/deps/glbench/src/main.cc:22: DEFINE_string(tests, "", "colon-separated list of tests to run; all ...
10 years, 6 months ago (2010-06-14 20:29:04 UTC) #1
Alexey Marinichev
http://codereview.chromium.org/2794002/diff/1/5 File client/deps/glbench/src/main.cc (right): http://codereview.chromium.org/2794002/diff/1/5#newcode22 client/deps/glbench/src/main.cc:22: DEFINE_string(tests, "", "colon-separated list of tests to run; all ...
10 years, 6 months ago (2010-06-14 21:04:18 UTC) #2
piman
LGTM. ok for raws for now, but it'd be useful to save the pngs in ...
10 years, 6 months ago (2010-06-14 21:56:26 UTC) #3
Alexey Marinichev
10 years, 6 months ago (2010-06-14 22:17:56 UTC) #4
On 2010/06/14 21:56:26, piman wrote:
> LGTM. ok for raws for now, but it'd be useful to save the pngs in case of
errors
> so that it can be inspected for visual differences.
> 
> http://codereview.chromium.org/2794002/diff/1/8
> File client/deps/glbench/src/testbase.cc (right):
> 
> http://codereview.chromium.org/2794002/diff/1/8#newcode84
> client/deps/glbench/src/testbase.cc:84: file_util::WriteFile(filename,
> pixels.get(), size);
> On 2010/06/14 21:04:18, Alexey Marinichev wrote:
> > On 2010/06/14 20:29:04, piman wrote:
> > > I think it would be useful to save the images directly as png. It's about
3
> > > lines of code if you use cairo, see the code in
window_manager/screenshot.cc
> > 
> > I am planning to use checksums to compare images against golden.  Checksums
> are
> > more reliable on raw files.
> 
> I see.
> 
> > Golden images will be stored as png.  Converting is easy using imagemagick.
> 
> ... if you know the exact dimensions of the image.

Converting from png doesn't need dimensions -- so no external knowledge would be
required for visual comparisons.

Powered by Google App Engine
This is Rietveld 408576698