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

Issue 267253002: [telemetry] Pass test_runner environment in local args instead of a global variable. (Closed)

Created:
6 years, 7 months ago by dtu
Modified:
5 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, nednguyen, piman+watch_chromium.org, telemetry+watch_chromium.org, eakuefner
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[telemetry] Pass test_runner environment in local args instead of a global variable. Also adds more fields to environment to narrow the scope of test and page set discovery. This should avoid problems with adding Python files to unrelated directories, and hides the PageTests from run_gpu_tests.py. BUG=None TEST=tools/perf/run_benchmark; tools/perf/run_measurement; content/test/gpu/run_gpu_tests.py # All return a full and correct test list.

Patch Set 1 : #

Total comments: 3

Patch Set 2 : Fix test_aliases default and make fields explicit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -59 lines) Patch
M content/test/gpu/run_gpu_test.py View 1 chunk +7 lines, -4 lines 0 comments Download
M tools/perf/run_benchmark View 2 chunks +10 lines, -4 lines 0 comments Download
M tools/perf/run_measurement View 2 chunks +8 lines, -4 lines 0 comments Download
D tools/telemetry/telemetry/core/environment.py View 1 chunk +0 lines, -20 lines 0 comments Download
M tools/telemetry/telemetry/test_runner.py View 1 9 chunks +57 lines, -27 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
dtu
Followup, as requested. (Actually the other patch [1] got mired in unit test failures and ...
6 years, 7 months ago (2014-05-06 23:45:18 UTC) #1
dtu
https://codereview.chromium.org/267253002/diff/10006/tools/telemetry/telemetry/test_runner.py File tools/telemetry/telemetry/test_runner.py (right): https://codereview.chromium.org/267253002/diff/10006/tools/telemetry/telemetry/test_runner.py#newcode26 tools/telemetry/telemetry/test_runner.py:26: class Environment(object): Moved this into here from its own ...
6 years, 7 months ago (2014-05-06 23:53:18 UTC) #2
Satyanarayana N H Manyam
https://codereview.chromium.org/267253002/diff/10006/tools/telemetry/telemetry/test_runner.py File tools/telemetry/telemetry/test_runner.py (right): https://codereview.chromium.org/267253002/diff/10006/tools/telemetry/telemetry/test_runner.py#newcode215 tools/telemetry/telemetry/test_runner.py:215: tests += discover.DiscoverClasses(search_dir, environment.top_level_dir, we should take top_level_dir for ...
6 years, 7 months ago (2014-05-07 02:38:04 UTC) #3
dtu
On 2014/05/07 02:38:04, Satyanarayana N H Manyam wrote: > https://codereview.chromium.org/267253002/diff/10006/tools/telemetry/telemetry/test_runner.py > File tools/telemetry/telemetry/test_runner.py (right): > ...
6 years, 7 months ago (2014-05-07 18:00:09 UTC) #4
nduca
i think we need one top level dir, which is ~= cwd, which is where ...
6 years, 7 months ago (2014-05-08 02:20:20 UTC) #5
nduca
er, which is to say, lgtm from my pov
6 years, 7 months ago (2014-05-08 02:20:29 UTC) #6
Satyanarayana N H Manyam
On 2014/05/08 02:20:20, nduca wrote: > i think we need one top level dir, which ...
6 years, 7 months ago (2014-05-08 03:24:05 UTC) #7
dtu
On 2014/05/08 03:24:05, Satyanarayana N H Manyam wrote: > On 2014/05/08 02:20:20, nduca wrote: > ...
6 years, 7 months ago (2014-05-08 18:36:33 UTC) #8
dtu
On 2014/05/08 18:36:33, dtu wrote: > On 2014/05/08 03:24:05, Satyanarayana N H Manyam wrote: > ...
6 years, 7 months ago (2014-05-08 18:42:20 UTC) #9
dtu
On 2014/05/08 18:42:20, dtu wrote: > On 2014/05/08 18:36:33, dtu wrote: > > On 2014/05/08 ...
6 years, 7 months ago (2014-05-08 18:43:42 UTC) #10
Ken Russell (switch to Gerrit)
LGTM once this passes the GPU bots. (mac_gpu_retina_triggered_tests has known failures; see Issue 371194.) https://chromiumcodereview.appspot.com/267253002/diff/10006/tools/telemetry/telemetry/test_runner.py ...
6 years, 7 months ago (2014-05-08 21:25:21 UTC) #11
nednguyen
On 2014/05/08 21:25:21, Ken Russell wrote: > LGTM once this passes the GPU bots. (mac_gpu_retina_triggered_tests ...
6 years, 4 months ago (2014-08-05 14:53:27 UTC) #12
nednguyen
6 years, 4 months ago (2014-08-07 19:14:06 UTC) #13
eakuefner
5 years, 10 months ago (2015-02-11 19:25:41 UTC) #16
CC me, probably going to pick this up and land it.

Powered by Google App Engine
This is Rietveld 408576698