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

Issue 228073002: [telemetry] Refactor run_tests to remove old cruft. (Closed)

Created:
6 years, 8 months ago by dtu
Modified:
6 years, 5 months ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Visibility:
Public.

Description

[telemetry] Refactor run_tests to remove old cruft. - Remove dead code and circuitous code paths. - Make its API consistent with run_benchmark, taking advantage of command_line.OptparseCommand. BUG=346956 TEST=tools/telemetry/run_tests && tools/perf/run_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280232 R=kbr@chromium.org, nduca@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281813

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Rebase #

Patch Set 3 : Unit tests #

Patch Set 4 : Rebase, fix unit tests. #

Patch Set 5 : Rebase after r279888 #

Patch Set 6 : Subtle failure. #

Patch Set 7 : Changes to interface to make ChromeOS easier. #

Patch Set 8 : Cleanups. #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -241 lines) Patch
M content/test/gpu/run_unittests View 1 2 3 1 chunk +3 lines, -10 lines 0 comments Download
M tools/perf/benchmarks/benchmark_unittest.py View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M tools/perf/run_tests View 1 2 3 1 chunk +5 lines, -11 lines 0 comments Download
M tools/telemetry/run_tests View 1 2 3 1 chunk +3 lines, -10 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py View 1 2 3 4 5 6 7 8 1 chunk +1 line, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/cros_browser_finder.py View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/command_line.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/results/base_test_results_unittest.py View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/results/gtest_test_results.py View 1 2 3 4 5 6 4 chunks +10 lines, -17 lines 0 comments Download
D tools/telemetry/telemetry/unittest/gtest_testrunner.py View 1 2 3 4 5 6 1 chunk +0 lines, -48 lines 0 comments Download
M tools/telemetry/telemetry/unittest/gtest_unittest_results.py View 1 2 3 4 5 6 1 chunk +80 lines, -44 lines 0 comments Download
M tools/telemetry/telemetry/unittest/options_for_unittests.py View 1 2 3 2 chunks +7 lines, -7 lines 0 comments Download
M tools/telemetry/telemetry/unittest/run_tests.py View 1 2 3 4 5 6 7 2 chunks +91 lines, -83 lines 0 comments Download
M tools/telemetry/telemetry/unittest/run_tests_unittest.py View 1 2 3 4 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 54 (0 generated)
nduca
https://codereview.chromium.org/228073002/diff/20001/tools/telemetry/telemetry/unittest/run_tests.py File tools/telemetry/telemetry/unittest/run_tests.py (right): https://codereview.chromium.org/228073002/diff/20001/tools/telemetry/telemetry/unittest/run_tests.py#newcode91 tools/telemetry/telemetry/unittest/run_tests.py:91: config = environment.Environment([util.GetBaseDir()]) do not like.... i can haz ...
6 years, 8 months ago (2014-04-08 06:30:08 UTC) #1
dtu
On 2014/04/08 06:30:08, nduca wrote: > https://codereview.chromium.org/228073002/diff/20001/tools/telemetry/telemetry/unittest/run_tests.py > File tools/telemetry/telemetry/unittest/run_tests.py (right): > > https://codereview.chromium.org/228073002/diff/20001/tools/telemetry/telemetry/unittest/run_tests.py#newcode91 > ...
6 years, 8 months ago (2014-04-08 06:43:14 UTC) #2
dtu
On 2014/04/08 06:43:14, dtu wrote: > On 2014/04/08 06:30:08, nduca wrote: > > > https://codereview.chromium.org/228073002/diff/20001/tools/telemetry/telemetry/unittest/run_tests.py ...
6 years, 8 months ago (2014-04-08 06:51:57 UTC) #3
dtu
On 2014/04/08 06:51:57, dtu wrote: > On 2014/04/08 06:43:14, dtu wrote: > > On 2014/04/08 ...
6 years, 8 months ago (2014-04-17 18:33:06 UTC) #4
tonyg
lg2m, but Nat needs to confirm whether you've addressed his concern or not.
6 years, 8 months ago (2014-04-17 20:05:58 UTC) #5
nduca
lgtm with some of my usual annoying questions. also http://doge2048.com/ https://codereview.chromium.org/228073002/diff/40001/tools/telemetry/telemetry/unittest/run_tests.py File tools/telemetry/telemetry/unittest/run_tests.py (right): https://codereview.chromium.org/228073002/diff/40001/tools/telemetry/telemetry/unittest/run_tests.py#newcode91 ...
6 years, 8 months ago (2014-04-23 23:13:16 UTC) #6
dtu
On 2014/04/23 23:13:16, nduca wrote: > lgtm with some of my usual annoying questions. also ...
6 years, 8 months ago (2014-04-23 23:30:27 UTC) #7
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 8 months ago (2014-04-23 23:30:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/40001
6 years, 8 months ago (2014-04-23 23:31:15 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-23 23:31:36 UTC) #10
commit-bot: I haz the power
Failed to apply patch for tools/telemetry/telemetry/core/command_line.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-23 23:31:36 UTC) #11
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 8 months ago (2014-04-23 23:57:52 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/60001
6 years, 8 months ago (2014-04-23 23:58:26 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 00:32:31 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 8 months ago (2014-04-24 00:32:32 UTC) #15
tonyg
The CQ bit was checked by tonyg@chromium.org
6 years, 8 months ago (2014-04-24 00:33:52 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/60001
6 years, 8 months ago (2014-04-24 00:34:26 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 00:40:26 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_x64_rel
6 years, 8 months ago (2014-04-24 00:40:27 UTC) #19
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 8 months ago (2014-04-24 21:04:22 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/80001
6 years, 8 months ago (2014-04-24 21:08:42 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 22:09:19 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_rel
6 years, 8 months ago (2014-04-24 22:09:20 UTC) #23
tonyg
The CQ bit was checked by tonyg@chromium.org
6 years, 8 months ago (2014-04-24 22:11:28 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/80001
6 years, 8 months ago (2014-04-24 22:12:24 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 22:24:31 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-24 22:24:32 UTC) #27
tonyg
The CQ bit was checked by tonyg@chromium.org
6 years, 8 months ago (2014-04-24 22:25:12 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/80001
6 years, 8 months ago (2014-04-24 22:27:50 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 22:42:03 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_x64_rel
6 years, 8 months ago (2014-04-24 22:42:04 UTC) #31
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 6 months ago (2014-06-23 23:15:08 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/100001
6 years, 6 months ago (2014-06-23 23:16:57 UTC) #33
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-24 01:00:43 UTC) #34
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-24 01:03:42 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/75838)
6 years, 6 months ago (2014-06-24 01:03:43 UTC) #36
dtu
+kbr OWNERS
6 years, 6 months ago (2014-06-24 20:52:21 UTC) #37
Ken Russell (switch to Gerrit)
content/test/gpu LGTM
6 years, 6 months ago (2014-06-24 22:53:28 UTC) #38
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 6 months ago (2014-06-24 22:55:01 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/100001
6 years, 6 months ago (2014-06-24 22:57:07 UTC) #40
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-25 04:07:00 UTC) #41
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-25 05:57:40 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/43117)
6 years, 6 months ago (2014-06-25 05:57:41 UTC) #43
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 5 months ago (2014-06-26 22:55:25 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/100001
6 years, 5 months ago (2014-06-26 22:58:21 UTC) #45
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 5 months ago (2014-06-27 00:01:39 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/120001
6 years, 5 months ago (2014-06-27 00:04:40 UTC) #47
dtu
The CQ bit was unchecked by dtu@chromium.org
6 years, 5 months ago (2014-06-27 00:29:09 UTC) #48
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 5 months ago (2014-06-27 00:44:14 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/228073002/140001
6 years, 5 months ago (2014-06-27 00:45:40 UTC) #50
commit-bot: I haz the power
Change committed as 280232
6 years, 5 months ago (2014-06-27 03:58:26 UTC) #51
Johnny
A revert of this CL has been created in https://codereview.chromium.org/355203002/ by jgraettinger@chromium.org. The reason for ...
6 years, 5 months ago (2014-06-27 16:23:24 UTC) #52
achuithb
telemetry_UnitTests is using gtest_runner here: https://cs.corp.google.com/#chromeos_public/src/third_party/autotest/files/client/site_tests/telemetry_UnitTests/telemetry_UnitTests.py&l=7
6 years, 5 months ago (2014-06-27 20:25:16 UTC) #53
dtu
6 years, 5 months ago (2014-07-08 20:19:23 UTC) #54
Message was sent while issue was closed.
Committed patchset #9 manually as r281813 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698