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

Issue 23478021: Made Pixel tests functional. Captures tab content and compares to ref image (Closed)

Created:
7 years, 3 months ago by bajones
Modified:
7 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, piman+watch_chromium.org, jam, apatrick_chromium, darin-cc_chromium.org, Sami
Visibility:
Public.

Description

Made Pixel tests functional. Captures tab content and compares to ref image BUG=278398 R=dtu@chromium.org, kbr@chromium.org, piman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228950

Patch Set 1 #

Total comments: 4

Patch Set 2 : Telemetry now waits for signal that test is done from page #

Total comments: 1

Patch Set 3 : Brought functionality closer inline with original browsertests #

Total comments: 4

Patch Set 4 : Made sure output paths are command-line configurable #

Total comments: 2

Patch Set 5 : Addressing nits #

Patch Set 6 : Fixed missed variable name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -6 lines) Patch
M content/test/data/gpu/pixel_browser_plugin.html View 1 chunk +7 lines, -0 lines 0 comments Download
M content/test/data/gpu/pixel_canvas2d.html View 1 chunk +7 lines, -0 lines 0 comments Download
M content/test/data/gpu/pixel_css3d.html View 1 chunk +7 lines, -0 lines 0 comments Download
M content/test/data/gpu/pixel_webgl.html View 1 chunk +7 lines, -0 lines 0 comments Download
M content/test/gpu/gpu_tests/pixel.py View 1 2 3 4 5 1 chunk +152 lines, -3 lines 0 comments Download
M content/test/gpu/page_sets/pixel_tests.json View 1 2 3 4 5 1 chunk +37 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py View 1 2 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/png_bitmap.py View 1 2 2 chunks +33 lines, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
bajones
There are still some decisions to be made re: this code. Primarily, it currently outputs ...
7 years, 3 months ago (2013-09-04 18:46:51 UTC) #1
piman
LGTM for the comments in the tests, but see additional suggestion. https://codereview.chromium.org/23478021/diff/1/content/test/gpu/page_sets/pixel_tests.json File content/test/gpu/page_sets/pixel_tests.json (right): ...
7 years, 3 months ago (2013-09-04 19:31:24 UTC) #2
bajones
On 2013/09/04 19:31:24, piman wrote: > Rather than wait an arbitrary number of seconds (and ...
7 years, 3 months ago (2013-09-04 20:12:00 UTC) #3
Zhenyao Mo
https://codereview.chromium.org/23478021/diff/1/content/test/gpu/gpu_tests/pixel.py File content/test/gpu/gpu_tests/pixel.py (right): https://codereview.chromium.org/23478021/diff/1/content/test/gpu/gpu_tests/pixel.py#newcode13 content/test/gpu/gpu_tests/pixel.py:13: test_data_dir = os.path.abspath(os.path.join( The reason we use a passed ...
7 years, 3 months ago (2013-09-05 00:23:13 UTC) #4
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/23478021/diff/1/content/test/gpu/gpu_tests/pixel.py File content/test/gpu/gpu_tests/pixel.py (right): https://codereview.chromium.org/23478021/diff/1/content/test/gpu/gpu_tests/pixel.py#newcode17 content/test/gpu/gpu_tests/pixel.py:17: ref_image_dir = os.path.join(test_data_dir, 'gpu_reference') The current harness is careful ...
7 years, 3 months ago (2013-09-05 00:27:04 UTC) #5
bajones
Small update. Telemetry now waits for the tests to indicate that they are done before ...
7 years, 3 months ago (2013-09-05 18:42:41 UTC) #6
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/23478021/diff/10001/content/test/gpu/gpu_tests/pixel.py File content/test/gpu/gpu_tests/pixel.py (right): https://codereview.chromium.org/23478021/diff/10001/content/test/gpu/gpu_tests/pixel.py#newcode18 content/test/gpu/gpu_tests/pixel.py:18: ref_image_dir = os.path.join(test_data_dir, 'gpu_reference') These directories really need to ...
7 years, 3 months ago (2013-09-06 00:35:35 UTC) #7
bajones
On 2013/09/06 00:35:35, Ken Russell wrote: > These directories really need to be passed in ...
7 years, 3 months ago (2013-09-06 17:19:13 UTC) #8
Ken Russell (switch to Gerrit)
On 2013/09/06 17:19:13, bajones wrote: > On 2013/09/06 00:35:35, Ken Russell wrote: > > These ...
7 years, 3 months ago (2013-09-06 21:16:55 UTC) #9
dtu
On 2013/09/06 21:16:55, Ken Russell wrote: > On 2013/09/06 17:19:13, bajones wrote: > > On ...
7 years, 3 months ago (2013-09-10 00:20:50 UTC) #10
bajones
@dtu, @nduca, @kbr: PTAL After much yak shaving (https://codereview.chromium.org/23694031/) this is finally looking like it's ...
7 years, 2 months ago (2013-10-15 23:15:21 UTC) #11
bajones
@dtu, @nduca, @kbr: PTAL After much yak shaving (https://codereview.chromium.org/23694031/) this is finally looking like it's ...
7 years, 2 months ago (2013-10-15 23:15:55 UTC) #12
Ken Russell (switch to Gerrit)
This looks very good overall but one issue and one comment. https://codereview.chromium.org/23478021/diff/30001/content/test/gpu/gpu_tests/pixel.py File content/test/gpu/gpu_tests/pixel.py (right): ...
7 years, 2 months ago (2013-10-15 23:31:15 UTC) #13
Ken Russell (switch to Gerrit)
+skyostil because the Android bot on the GPU waterfall is actually already running these tests, ...
7 years, 2 months ago (2013-10-15 23:32:27 UTC) #14
bajones
On 2013/10/15 23:31:15, Ken Russell wrote: > It's necessary to be able to override this ...
7 years, 2 months ago (2013-10-16 00:04:24 UTC) #15
Ken Russell (switch to Gerrit)
LGTM with a couple of minor comments. https://codereview.chromium.org/23478021/diff/38001/content/test/gpu/gpu_tests/pixel.py File content/test/gpu/gpu_tests/pixel.py (right): https://codereview.chromium.org/23478021/diff/38001/content/test/gpu/gpu_tests/pixel.py#newcode19 content/test/gpu/gpu_tests/pixel.py:19: ref_image_dir = ...
7 years, 2 months ago (2013-10-16 00:37:33 UTC) #16
dtu
lgtm https://chromiumcodereview.appspot.com/23478021/diff/30001/content/test/gpu/page_sets/pixel_tests.json File content/test/gpu/page_sets/pixel_tests.json (right): https://chromiumcodereview.appspot.com/23478021/diff/30001/content/test/gpu/page_sets/pixel_tests.json#newcode7 content/test/gpu/page_sets/pixel_tests.json:7: "url": "file:///../../data/gpu/pixel_canvas2d.html", On 2013/10/15 23:31:16, Ken Russell wrote: ...
7 years, 2 months ago (2013-10-16 01:20:41 UTC) #17
bajones
On 2013/10/16 00:37:33, Ken Russell wrote: > Could you rename these to something like "default_generated_data_dir" ...
7 years, 2 months ago (2013-10-16 05:11:11 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bajones@chromium.org/23478021/45001
7 years, 2 months ago (2013-10-16 16:58:28 UTC) #19
bajones
Committed patchset #6 manually as r228950 (presubmit successful).
7 years, 2 months ago (2013-10-16 18:08:41 UTC) #20
bajones
7 years, 2 months ago (2013-10-16 18:10:28 UTC) #21
Message was sent while issue was closed.
On 2013/10/16 18:08:41, bajones wrote:
> Committed patchset #6 manually as r228950 (presubmit successful).

CQ has gone mad. (See the ever increasing number of inactive
"chromium_presubmit" steps above). Landed manually. I'll be watching closely for
tree failures.

Powered by Google App Engine
This is Rietveld 408576698