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

Issue 1051783003: Fix crash when running "run_benchmark help run" (Closed)

Created:
5 years, 8 months ago by alancutter (OOO until 2018)
Modified:
5 years, 8 months ago
CC:
chromium-reviews, nednguyen(REVIEW IN OTHER ACC), telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash when running "run_benchmark help run" This change adds a required dependency to the run_benchmark help command when updating the command line arg parser. This means we no longer crash when serving help information for the run command. BUG=472916

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M tools/telemetry/telemetry/benchmark_runner.py View 4 chunks +5 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/core/command_line.py View 2 chunks +3 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/unittest_util/run_tests.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/util/find_dependencies.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
alancutter (OOO until 2018)
I'm somewhat unhappy about this change but making it nicer seems to be out of ...
5 years, 8 months ago (2015-04-02 03:26:34 UTC) #2
qyearsley
On 2015/04/02 03:26:34, alancutter wrote: > I'm somewhat unhappy about this change but making it ...
5 years, 8 months ago (2015-04-02 04:24:26 UTC) #4
sullivan
5 years, 8 months ago (2015-04-02 13:30:27 UTC) #6
dtu
+eakuefner was working on adding environment to benchmark_runner.
5 years, 8 months ago (2015-04-02 22:01:41 UTC) #8
eakuefner
This is not lgtm -- we're aware of this problem and the right fix is ...
5 years, 8 months ago (2015-04-02 22:35:09 UTC) #9
alancutter (OOO until 2018)
5 years, 8 months ago (2015-04-07 05:02:32 UTC) #10
On 2015/04/02 at 22:35:09, eakuefner wrote:
> This is not lgtm -- we're aware of this problem and the right fix is pretty
complicated and long-term.
> 
> Alan, can you use run_benchmark run --help instead for now? I'll work on a
patch to just paint over 'help run' so that we invoke 'run --help' instead for
the time being and CC you.

Okay, I see https://codereview.chromium.org/1063443002. Thanks.

Powered by Google App Engine
This is Rietveld 408576698