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

Issue 22268006: [Telemetry] Ensure run_benchmark sets the default values from AddCommandLineOptions. (Closed)

Created:
7 years, 4 months ago by James Simonsen
Modified:
7 years, 4 months ago
Reviewers:
dtu
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

[Telemetry] Ensure run_benchmark sets the default values from AddCommandLineOptions. If a test adds its own command line options, we need to make sure those are included in the options variable. Previously, AddCommandLineOptions wasn't even called. Now we grab the defaults from it and then add those to |options| as long as |options| hasn't already set them. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216815

Patch Set 1 #

Patch Set 2 : 2 more test cases #

Total comments: 1

Patch Set 3 : Move to test.py #

Patch Set 4 : Rebase #

Patch Set 5 : Replace assertIsNone #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -1 line) Patch
M tools/telemetry/telemetry/core/browser_options.py View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_options_unittest.py View 1 2 3 4 2 chunks +27 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/test.py View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
James Simonsen
7 years, 4 months ago (2013-08-05 23:44:25 UTC) #1
dtu
https://codereview.chromium.org/22268006/diff/3001/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (right): https://codereview.chromium.org/22268006/diff/3001/tools/telemetry/telemetry/page/page_runner.py#newcode219 tools/telemetry/telemetry/page/page_runner.py:219: Hrm, because this is a command-line thing, can it ...
7 years, 4 months ago (2013-08-07 02:15:25 UTC) #2
James Simonsen
On 2013/08/07 02:15:25, Dave Tu wrote: > https://codereview.chromium.org/22268006/diff/3001/tools/telemetry/telemetry/page/page_runner.py > File tools/telemetry/telemetry/page/page_runner.py (right): > > https://codereview.chromium.org/22268006/diff/3001/tools/telemetry/telemetry/page/page_runner.py#newcode219 ...
7 years, 4 months ago (2013-08-07 18:28:20 UTC) #3
James Simonsen
Ping? This is blocking 22300013.
7 years, 4 months ago (2013-08-08 16:51:52 UTC) #4
dtu
lgtm
7 years, 4 months ago (2013-08-09 20:16:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/22268006/6001
7 years, 4 months ago (2013-08-09 20:21:33 UTC) #6
commit-bot: I haz the power
Failed to apply patch for tools/telemetry/telemetry/core/browser_options_unittest.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 4 months ago (2013-08-09 20:21:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/22268006/14001
7 years, 4 months ago (2013-08-09 20:32:03 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=185950
7 years, 4 months ago (2013-08-10 00:04:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/22268006/33001
7 years, 4 months ago (2013-08-10 00:06:10 UTC) #10
commit-bot: I haz the power
7 years, 4 months ago (2013-08-10 07:18:16 UTC) #11
Message was sent while issue was closed.
Change committed as 216815

Powered by Google App Engine
This is Rietveld 408576698