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

Issue 2010363002: Update Maps pixel test. (Closed)

Created:
4 years, 6 months ago by Ken Russell (switch to Gerrit)
Modified:
4 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, telemetry-reviews_chromium.org, piman+watch_chromium.org, cblume
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update Maps pixel test. Pick up a new binary from the Maps team, and update the test expectations for a differently-sized viewport. It looks like the sizing of the canvas in this test is slightly different on Android than on desktop platforms, despite the fact that a fixed device pixel ratio is sent to the Maps test itself. Work around this by adding a mechanism to cloud_storage_test_base's test expectations for device-specific scale factors. The machine names are already being passed down to the test on the bots, so this will allow the same expectations to apply on all devices. Tested locally on a Nexus 6 and 9. Removed the failure expectations for this test (which has now been renamed to Maps.maps_004) on Android. The test will probably fail on the Nexus 5 and 5X, but scale factors will be checked in for these devices in a follow-on CL. BUG=611932 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/c329cfaedf7a947ea84e31e90c9112f4d64c3e24 Cr-Commit-Position: refs/heads/master@{#396541}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Re-port WPR and JSON presubmit checks from tools/perf/. #

Patch Set 3 : Address review feedback from aiolos. Make comment a docstring. #

Patch Set 4 : Remove debugging prints from presubmit script. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -80 lines) Patch
M content/test/gpu/gpu_tests/cloud_storage_test_base.py View 4 chunks +22 lines, -2 lines 0 comments Download
M content/test/gpu/gpu_tests/maps.py View 1 2 3 chunks +26 lines, -4 lines 0 comments Download
M content/test/gpu/gpu_tests/maps_expectations.py View 1 chunk +1 line, -3 lines 0 comments Download
M content/test/gpu/page_sets/PRESUBMIT.py View 1 2 3 2 chunks +57 lines, -64 lines 0 comments Download
M content/test/gpu/page_sets/data/maps.json View 1 chunk +5 lines, -2 lines 0 comments Download
A content/test/gpu/page_sets/data/maps_004.wpr.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
A content/test/gpu/page_sets/data/maps_004_expectations.json View 1 chunk +50 lines, -0 lines 0 comments Download
M tools/perf/page_sets/data/maps.json View 1 chunk +5 lines, -2 lines 0 comments Download
A tools/perf/page_sets/data/maps_004.wpr.sha1 View 1 chunk +1 line, -0 lines 0 comments Download
M tools/perf/page_sets/maps.py View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Ken Russell (switch to Gerrit)
zmo: please review content/test/gpu/ aiolos: please review tools/perf/ cblume: FYI
4 years, 6 months ago (2016-05-27 04:35:53 UTC) #3
Zhenyao Mo
content/test/gpu lgtm really great that this pass on Android.
4 years, 6 months ago (2016-05-27 12:55:38 UTC) #4
aiolos (Not reviewing)
lgtm https://codereview.chromium.org/2010363002/diff/1/content/test/gpu/gpu_tests/maps.py File content/test/gpu/gpu_tests/maps.py (right): https://codereview.chromium.org/2010363002/diff/1/content/test/gpu/gpu_tests/maps.py#newcode97 content/test/gpu/gpu_tests/maps.py:97: # Then the maps_???.wpr.sha1 and maps.json were copied ...
4 years, 6 months ago (2016-05-27 17:35:51 UTC) #5
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2010363002/diff/1/content/test/gpu/gpu_tests/maps.py File content/test/gpu/gpu_tests/maps.py (right): https://codereview.chromium.org/2010363002/diff/1/content/test/gpu/gpu_tests/maps.py#newcode97 content/test/gpu/gpu_tests/maps.py:97: # Then the maps_???.wpr.sha1 and maps.json were copied from ...
4 years, 6 months ago (2016-05-27 18:23:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010363002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2010363002/60001
4 years, 6 months ago (2016-05-27 18:24:47 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-05-27 19:55:24 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 19:57:46 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c329cfaedf7a947ea84e31e90c9112f4d64c3e24
Cr-Commit-Position: refs/heads/master@{#396541}

Powered by Google App Engine
This is Rietveld 408576698